diff --git a/gulpfile.js b/gulpfile.js index 120ec10..b824cfc 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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/")); };