mirror of
https://gitlab.silvrtree.co.uk/martind2000/ft.git
synced 2025-02-05 04:10:17 +00:00
15 lines
384 B
JavaScript
15 lines
384 B
JavaScript
|
/**
|
||
|
* Created by bstjohn on 01/04/2017.
|
||
|
*/
|
||
|
import gulp from 'gulp';
|
||
|
import debug from 'gulp-debug';
|
||
|
import project from '../aurelia.json';
|
||
|
import clean from 'gulp-clean';
|
||
|
|
||
|
export default function cleanAssets(done) {
|
||
|
let assets = project.assetsProcessor.clean;
|
||
|
return gulp.src(['assets/js/*'], {read: false})
|
||
|
.pipe(debug({title: `cleaning ${assets}`}))
|
||
|
.pipe(clean());
|
||
|
}
|