summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tasks/build.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tasks/build.js b/tasks/build.js
index c778b9e..780a54b 100644
--- a/tasks/build.js
+++ b/tasks/build.js
@@ -57,6 +57,7 @@ module.exports = (src, dest) => {
vfs
.src('js/vendor/*.js', Object.assign({ read: false }, opts))
.pipe(
+ // see https://gulpjs.org/recipes/browserify-multiple-destination.html
tap((file) => {
file.contents = browserify(file.relative, { basedir: src, detectGlobals: false }).bundle()
})