From: Dan Allen Date: Tue, 21 Nov 2017 00:34:20 +0000 (-0700) Subject: add reference to recipe for multiple destinations with browserify to build task X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=28d71bc4b8fc10c53b83dbb2236454fd055c452f;p=working%2Feg-antora.git add reference to recipe for multiple destinations with browserify to build task --- 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() })