deal with symlinks correctly (requires newer vinyl-fs)

This commit is contained in:
Florian Dold 2016-10-04 19:00:40 +02:00
parent d3ccf41039
commit 5d85866a0e
3 changed files with 6 additions and 3 deletions

View File

@ -44,7 +44,8 @@ const fs = require("fs");
const del = require("del"); const del = require("del");
const through = require('through2'); const through = require('through2');
const File = require('vinyl'); const File = require('vinyl');
const Stream = require('stream').Stream const Stream = require('stream').Stream;
const vfs = require('vinyl-fs');
const paths = { const paths = {
ts: { ts: {
@ -205,7 +206,7 @@ gulp.task("clean", function () {
gulp.task("dist-prod", ["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/")); .pipe(gulp.dest("build/ext/"));
}); });

1
lib/vendor/preact vendored Symbolic link
View File

@ -0,0 +1 @@
../../thirdparty/preact/src/

View File

@ -35,6 +35,7 @@
"through2": "^2.0.1", "through2": "^2.0.1",
"typescript": "^2.0.3", "typescript": "^2.0.3",
"typhonjs-istanbul-instrument-jspm": "^0.1.0", "typhonjs-istanbul-instrument-jspm": "^0.1.0",
"vinyl": "^2.0.0" "vinyl": "^2.0.0",
"vinyl-fs": "^2.4.3"
} }
} }