blob: a5c60b8002a6926fe7d2fe39fbc435c4d64a8b2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
const aggregateBuild = require('./aggregate-build');
const compileModules = require('./compile-modules');
const {series} = require('async');
const outpath = 'build/modules-for-cjs';
series([
compileModules.bind(null, {
es6: true,
outpath,
lodashRename: false
}),
aggregateBuild.bind(null, {
entriesPath: outpath,
outfile: 'build/index.js',
format: 'cjs',
})
], err => { if (err); throw err; });
|