summaryrefslogtreecommitdiff
path: root/support/build/modules-cjs.js
diff options
context:
space:
mode:
authorAlexander Early <alexander.early@gmail.com>2017-04-09 18:10:06 -0700
committerAlexander Early <alexander.early@gmail.com>2017-04-16 12:26:41 -0700
commit70aa51c12b8009b5c899d855aa6185fc7303a4ef (patch)
tree2d7b5ba5d8e85a5c63294f6a57be347182e9763c /support/build/modules-cjs.js
parent38f1440101f5b17d06dd90be358957a5619a980c (diff)
downloadasync-70aa51c12b8009b5c899d855aa6185fc7303a4ef.tar.gz
decouple compling modules and bundling
Diffstat (limited to 'support/build/modules-cjs.js')
-rw-r--r--support/build/modules-cjs.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/support/build/modules-cjs.js b/support/build/modules-cjs.js
index 3ae9a8b..e131a42 100644
--- a/support/build/modules-cjs.js
+++ b/support/build/modules-cjs.js
@@ -1,3 +1,5 @@
const compileModules = require('./compile-modules');
-compileModules(function() {}, {es6: false});
+compileModules({
+ es6: false
+}, err => { if (err) throw err; });