diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-10-04 19:00:40 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-10-04 19:00:40 +0200 |
commit | 5d85866a0e452c375685b206dc0b9841cf240786 (patch) | |
tree | 4a9d14058c3a8fdb2b5822e5acf5538fd32c2bd4 | |
parent | d3ccf4103900b8d990b1970d135695b938d94eae (diff) |
deal with symlinks correctly (requires newer vinyl-fs)
-rw-r--r-- | gulpfile.js | 5 | ||||
l--------- | lib/vendor/preact | 1 | ||||
-rw-r--r-- | package.json | 3 |
3 files changed, 6 insertions, 3 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/")); }); diff --git a/lib/vendor/preact b/lib/vendor/preact new file mode 120000 index 000000000..6111fdad3 --- /dev/null +++ b/lib/vendor/preact @@ -0,0 +1 @@ +../../thirdparty/preact/src/
\ No newline at end of file diff --git a/package.json b/package.json index 41f1faac1..9b85bec9e 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "through2": "^2.0.1", "typescript": "^2.0.3", "typhonjs-istanbul-instrument-jspm": "^0.1.0", - "vinyl": "^2.0.0" + "vinyl": "^2.0.0", + "vinyl-fs": "^2.4.3" } } |