Skip to content

Commit ed66bae

Browse files
committed
updating del, as well
1 parent 7b7dac6 commit ed66bae

File tree

3 files changed

+190
-165
lines changed

3 files changed

+190
-165
lines changed

gulpfile.mjs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import gulpRename from "gulp-rename";
88
import gulpReplace from "gulp-replace";
99
import archiver from 'archiver';
1010
import glob from 'glob';
11-
import del from 'del';
11+
import { deleteSync } from 'del';
1212
import modernizr from 'modernizr';
1313
import { createRequire } from 'module';
1414
const require = createRequire(import.meta.url);
@@ -65,12 +65,11 @@ gulp.task('archive:zip', (done) => {
6565
});
6666

6767
gulp.task('clean', (done) => {
68-
del([
68+
deleteSync([
6969
dirs.archive,
7070
dirs.dist
71-
]).then(() => {
72-
done();
73-
});
71+
])
72+
done();
7473
});
7574

7675
gulp.task('copy:index.html', () => {

0 commit comments

Comments
 (0)