ft/aurelia_project/tasks/clean.js
2017-06-09 09:09:06 +01:00

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());
}