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");
|
||||
|
||||
exports.default = () => {
|
||||
return src("views/**/*")
|
||||
return src("views/**/*.js")
|
||||
.pipe(
|
||||
through2.obj(function (file, _, cb) {
|
||||
if (file.isBuffer()) {
|
||||
|
@ -21,5 +21,6 @@ exports.default = () => {
|
|||
cb(null, file);
|
||||
})
|
||||
)
|
||||
.pipe(src("views/**/*"))
|
||||
.pipe(dest("output/"));
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue