add reference to recipe for multiple destinations with browserify to build task
authorDan Allen <dan@opendevise.com>
Tue, 21 Nov 2017 00:34:20 +0000 (17:34 -0700)
committerDan Allen <dan@opendevise.com>
Tue, 21 Nov 2017 00:34:20 +0000 (17:34 -0700)
tasks/build.js

index c778b9e..780a54b 100644 (file)
@@ -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()
         })