mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
af49e95cc7
Signed-off-by: Oleg Ivaniv <[email protected]> Co-authored-by: Jan Oberhauser <[email protected]> Co-authored-by: Jesper Bylund <[email protected]> Co-authored-by: OlegIvaniv <[email protected]> Co-authored-by: Deborah <[email protected]> Co-authored-by: Jan Oberhauser <[email protected]> Co-authored-by: Jon <[email protected]> Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <[email protected]> Co-authored-by: Michael Kret <[email protected]> Co-authored-by: Giulio Andreini <[email protected]> Co-authored-by: Mason Geloso <[email protected]> Co-authored-by: Mason Geloso <[email protected]> Co-authored-by: Mutasem Aldmour <[email protected]>
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,
|
|
});
|