UNPKG

@swift-ws/gulp-kit

Version:

A starter kit for automating frontend development using Gulp.js.

13 lines (9 loc) 294 B
import {deleteAsync} from "del"; import {gulp} from "../plugins.js"; export const clean = async () => { const { config } = await import('../config.js'); if (config.cleanDir) { return deleteAsync(config.cleanDir + '/*'); } return gulp.src('.', {allowEmpty: true}); };