refactor(build): make gulp pipeline more modular
This commit is contained in:
parent
72946ac625
commit
3c88bde0d1
@ -57,5 +57,8 @@ function copyImages() {
|
||||
.pipe(gulp.dest(`${destDir}/img`));
|
||||
}
|
||||
|
||||
exports.default = compileSCSS;
|
||||
exports.default = gulp.parallel(compileSCSS, gulp.series(compileTS, bundleJS), copyCSS, copyJS, copyImages);
|
||||
exports.assets = copyImages;
|
||||
exports.styles = gulp.parallel(compileSCSS, copyCSS);
|
||||
exports.scripts = gulp.parallel(copyJS, gulp.series(compileTS, bundleJS));
|
||||
|
||||
exports.default = gulp.parallel(exports.styles, exports.scripts, exports.assets);
|
||||
|
Loading…
Reference in New Issue
Block a user