12345678910111213141516171819202122 |
- const { src, dest, series } = require('gulp');
- const del = require('del');
- const from = {
- path: [
- './assets/**/*',
-
-
- ]
- };
- const cleanDist = async (cb) => {
- await del(['dist/**']);
- cb();
- }
- const moveAssets = (cb) => {
- src(from.path,{base:'./'})
- .pipe(dest('dist'));
- cb();
- }
- exports.build = series(cleanDist, moveAssets);
|