aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gulpfile.js1
-rw-r--r--package.json1
2 files changed, 2 insertions, 0 deletions
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",