Fix gulpfile

This commit is contained in:
MeowcaTheoRange 2023-11-23 12:02:53 -06:00
parent 173dd085ac
commit db98272eeb

View file

@ -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/"));
}; };