From 04a61b7de9f430d27b373a10e68ac05d5859368e Mon Sep 17 00:00:00 2001 From: kumavis Date: Wed, 20 Apr 2016 13:22:41 -0700 Subject: [PATCH] build - post process with dereq --- gulpfile.js | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index dabf49f7c..c4e9630ea 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -97,6 +97,7 @@ function bundleTask(opts) { var browserifyOpts = assign({}, watchify.args, { entries: ['./app/scripts/'+opts.filename], debug: true, + plugin: 'browserify-derequire', }) var bundler = browserify(browserifyOpts) diff --git a/package.json b/package.json index b2e2b3c61..89434bf8d 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ }, "dependencies": { "async": "^1.5.2", + "browserify-derequire": "^0.9.4", "clone": "^1.0.2", "copy-to-clipboard": "^2.0.0", "debounce": "^1.0.0",