Merge pull request #16730 from timvandermeij/vinyl-fs
Remove the `vinyl-fs` dependency
This commit is contained in:
commit
4a0468a601
17
gulpfile.mjs
17
gulpfile.mjs
@ -34,7 +34,6 @@ import rimraf from "rimraf";
|
||||
import stream from "stream";
|
||||
import streamqueue from "streamqueue";
|
||||
import through from "through2";
|
||||
import vfs from "vinyl-fs";
|
||||
import Vinyl from "vinyl";
|
||||
import webpack2 from "webpack";
|
||||
import webpackStream from "webpack-stream";
|
||||
@ -2098,15 +2097,14 @@ function ghPagesPrepare() {
|
||||
|
||||
rimraf.sync(GH_PAGES_DIR);
|
||||
|
||||
// 'vfs' because web/viewer.html needs its BOM.
|
||||
return merge([
|
||||
vfs
|
||||
.src(GENERIC_DIR + "**/*", { base: GENERIC_DIR, stripBOM: false })
|
||||
gulp
|
||||
.src(GENERIC_DIR + "**/*", { base: GENERIC_DIR, removeBOM: false })
|
||||
.pipe(gulp.dest(GH_PAGES_DIR)),
|
||||
vfs
|
||||
gulp
|
||||
.src(GENERIC_LEGACY_DIR + "**/*", {
|
||||
base: GENERIC_LEGACY_DIR,
|
||||
stripBOM: false,
|
||||
removeBOM: false,
|
||||
})
|
||||
.pipe(gulp.dest(GH_PAGES_DIR + "legacy/")),
|
||||
gulp
|
||||
@ -2223,8 +2221,11 @@ gulp.task(
|
||||
|
||||
return merge([
|
||||
packageJson().pipe(gulp.dest(DIST_DIR)),
|
||||
vfs
|
||||
.src("external/dist/**/*", { base: "external/dist", stripBOM: false })
|
||||
gulp
|
||||
.src("external/dist/**/*", {
|
||||
base: "external/dist",
|
||||
removeBOM: false,
|
||||
})
|
||||
.pipe(gulp.dest(DIST_DIR)),
|
||||
gulp.src(GENERIC_DIR + "LICENSE").pipe(gulp.dest(DIST_DIR)),
|
||||
gulp
|
||||
|
1
package-lock.json
generated
1
package-lock.json
generated
@ -60,7 +60,6 @@
|
||||
"typescript": "^5.1.6",
|
||||
"typogr": "^0.6.8",
|
||||
"vinyl": "^3.0.0",
|
||||
"vinyl-fs": "^3.0.3",
|
||||
"webpack": "^5.88.2",
|
||||
"webpack-stream": "^7.0.0",
|
||||
"wintersmith": "^2.5.0",
|
||||
|
@ -53,7 +53,6 @@
|
||||
"typescript": "^5.1.6",
|
||||
"typogr": "^0.6.8",
|
||||
"vinyl": "^3.0.0",
|
||||
"vinyl-fs": "^3.0.3",
|
||||
"webpack": "^5.88.2",
|
||||
"webpack-stream": "^7.0.0",
|
||||
"wintersmith": "^2.5.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user