summaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-10-04 19:00:40 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-10-04 19:00:40 +0200
commit5d85866a0e452c375685b206dc0b9841cf240786 (patch)
tree4a9d14058c3a8fdb2b5822e5acf5538fd32c2bd4 /gulpfile.js
parentd3ccf4103900b8d990b1970d135695b938d94eae (diff)
downloadwallet-core-5d85866a0e452c375685b206dc0b9841cf240786.tar.gz
wallet-core-5d85866a0e452c375685b206dc0b9841cf240786.tar.bz2
wallet-core-5d85866a0e452c375685b206dc0b9841cf240786.zip
deal with symlinks correctly (requires newer vinyl-fs)
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 443eabc43..a7b58b9b1 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -44,7 +44,8 @@ const fs = require("fs");
const del = require("del");
const through = require('through2');
const File = require('vinyl');
-const Stream = require('stream').Stream
+const Stream = require('stream').Stream;
+const vfs = require('vinyl-fs');
const paths = {
ts: {
@@ -205,7 +206,7 @@ gulp.task("clean", function () {
gulp.task("dist-prod", ["clean"], function () {
- return gulp.src(paths.dist, {base: ".", stripBOM: false})
+ return vfs.src(paths.dist, {base: ".", stripBOM: false})
.pipe(gulp.dest("build/ext/"));
});