From 28d71bc4b8fc10c53b83dbb2236454fd055c452f Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Mon, 20 Nov 2017 17:34:20 -0700 Subject: [PATCH] add reference to recipe for multiple destinations with browserify to build task --- tasks/build.js | 1 + 1 file changed, 1 insertion(+) 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() }) -- 2.11.0