mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-28 05:59:42 -08:00
22 lines
339 B
JavaScript
22 lines
339 B
JavaScript
|
import { defineBuildConfig } from 'unbuild';
|
||
|
|
||
|
export default defineBuildConfig({
|
||
|
entries: [
|
||
|
{
|
||
|
builder: 'mkdist',
|
||
|
format: 'esm',
|
||
|
input: './src',
|
||
|
outDir: './tmp/lib',
|
||
|
},
|
||
|
{
|
||
|
builder: 'mkdist',
|
||
|
format: 'cjs',
|
||
|
input: './src',
|
||
|
outDir: './tmp/cjs',
|
||
|
},
|
||
|
],
|
||
|
clean: true,
|
||
|
declaration: true,
|
||
|
failOnWarn: false,
|
||
|
});
|