Fix gulpfile
This commit is contained in:
parent
173dd085ac
commit
db98272eeb
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,7 @@ const fs = require("fs");
|
||||||
const path = require("path");
|
const path = require("path");
|
||||||
|
|
||||||
exports.default = () => {
|
exports.default = () => {
|
||||||
return src("views/**/*")
|
return src("views/**/*.js")
|
||||||
.pipe(
|
.pipe(
|
||||||
through2.obj(function (file, _, cb) {
|
through2.obj(function (file, _, cb) {
|
||||||
if (file.isBuffer()) {
|
if (file.isBuffer()) {
|
||||||
|
@ -21,5 +21,6 @@ exports.default = () => {
|
||||||
cb(null, file);
|
cb(null, file);
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
.pipe(src("views/**/*"))
|
||||||
.pipe(dest("output/"));
|
.pipe(dest("output/"));
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue