Feature/#35 build tools #36
20
gulpfile.js
20
gulpfile.js
|
@ -163,6 +163,22 @@ gulp.task('manifests', () => {
|
||||||
Serraniel
commented
Review
```suggestion
debug: isDev
```
```suggestion
debug: isDev
```
|
|||||||
.pipe(gulp.dest(tmp.manifests))
|
.pipe(gulp.dest(tmp.manifests))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
/* ============================================================================
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
Watchers
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
============================================================================ */
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
gulp.task('watch', (done) => {
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
gulp.watch(`${src.styles}/**/*.scss`, gulp.series('clean:build', 'styles', 'dist:copy', 'dist:zip'))
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
gulp.watch(`${src.scripts}/**/*.js`, gulp.series('clean:build', 'scripts', 'dist:copy', 'dist:zip'))
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
gulp.watch(`${src.images}/**/*`, gulp.series('clean:build', 'images', 'dist:copy', 'dist:zip'))
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
gulp.watch(`${src.manifests}/**/*.*`, gulp.series('clean:build', 'manifests', 'dist:copy', 'dist:zip'))
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
done();
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
})
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
|
||||||
```suggestion
debug: isDev
```
|
|||||||
/* ============================================================================
|
/* ============================================================================
|
||||||
Clean
|
Clean
|
||||||
============================================================================ */
|
============================================================================ */
|
||||||
|
@ -177,7 +193,9 @@ gulp.task('clean', gulp.series('clean:build', 'clean:dist'))
|
||||||
```suggestion
debug: isDev
```
```suggestion
debug: isDev
```
|
|||||||
BUILD CLEAN ALL
|
BUILD CLEAN ALL
|
||||||
============================================================================ */
|
============================================================================ */
|
||||||
|
|
||||||
gulp.task('build', gulp.series('clean:build', 'manifests', 'images', 'scripts', 'styles'));
|
gulp.task('build', gulp.series('manifests', 'images', 'scripts', 'styles'));
|
||||||
```suggestion
debug: isDev
```
```suggestion
debug: isDev
```
|
|||||||
|
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
gulp.task('build:clean', gulp.series('clean:build', 'manifests', 'images', 'scripts', 'styles'));
|
||||||
```suggestion
debug: isDev
```
|
|||||||
|
|
||||||
/* ============================================================================
|
/* ============================================================================
|
||||||
DIST CLEAN ALL
|
DIST CLEAN ALL
|
||||||
|
|
||||||
```suggestion
debug: isDev
```
```suggestion
debug: isDev
```
|
Loading…
Reference in a new issue