projects
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a3d856
)
add reference to recipe for multiple destinations with browserify to build task
author
Dan Allen
<dan@opendevise.com>
Tue, 21 Nov 2017 00:34:20 +0000
(17:34 -0700)
committer
Dan Allen
<dan@opendevise.com>
Tue, 21 Nov 2017 00:34:20 +0000
(17:34 -0700)
tasks/build.js
patch
|
blob
|
history
diff --git
a/tasks/build.js
b/tasks/build.js
index
c778b9e
..
780a54b
100644
(file)
--- 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()
})