diff options
author | Alexander Early <alexander.early@gmail.com> | 2017-04-16 21:03:48 -0700 |
---|---|---|
committer | Alexander Early <alexander.early@gmail.com> | 2017-04-16 21:03:48 -0700 |
commit | 80361aaccbca9cd2af30b76e5e93b58d25faa65b (patch) | |
tree | 1532f3f95b8c54aed38c314531fc122622faf298 /support/build | |
parent | acce4d9c0d2cfc2908730c6fd4d864005d63a0f0 (diff) | |
download | async-80361aaccbca9cd2af30b76e5e93b58d25faa65b.tar.gz |
remove unused CJS index.js file
Diffstat (limited to 'support/build')
-rw-r--r-- | support/build/aggregate-cjs.js | 17 | ||||
-rw-r--r-- | support/build/modules-cjs.js | 4 |
2 files changed, 3 insertions, 18 deletions
diff --git a/support/build/aggregate-cjs.js b/support/build/aggregate-cjs.js deleted file mode 100644 index a5c60b8..0000000 --- a/support/build/aggregate-cjs.js +++ /dev/null @@ -1,17 +0,0 @@ -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; }); diff --git a/support/build/modules-cjs.js b/support/build/modules-cjs.js index e131a42..aabd469 100644 --- a/support/build/modules-cjs.js +++ b/support/build/modules-cjs.js @@ -1,5 +1,7 @@ const compileModules = require('./compile-modules'); compileModules({ - es6: false + es6: false, + path: 'lib/', + outpath: 'build' }, err => { if (err) throw err; }); |