Skip to content

Commit

Permalink
Added a gulp file to clear the dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayan751 committed May 15, 2019
1 parent ffa8741 commit 3132d35
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions skeleton/webpack/gulpFile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// @if feat.babel
import gulp from 'gulp';
import del from 'del';
// @endif
// @if feat.typescript
import * as gulp from 'gulp';
import * as del from 'del';
// @endif

function clearDist() {
return del([config.output.path]);
}

gulp.task("prebuild", gulp.series(
clearDist,
configureEnvironment
));

0 comments on commit 3132d35

Please sign in to comment.