The clean task will remove and delete any previous build dirs (which are mapping staging and output config value).
staging
output
staging: 'intermediate/', // final build output output: 'publish/',
No necessary configuration other than staging and output value is needed.
rimraf is the helper wrapper for rimraf package. The given cb callback if passed in will make the call asynchronous, otherwise rimraf.sync is used.
rimraf
cb
rimraf.sync
task.helper('rimraf', dir, cb);
There was an error while loading. Please reload this page.
» Home
» Tasks
» clean: Wipe the previous build dirs.
» mkdirs: Prepares the build dirs.
» concat: Concatenate files. (built-in)
» css: Concats, replaces @imports and minifies CSS files.
» min: Minify files using UglifyJS (built-in)
» rev: Automate the revving of assets and perform the hash rename
» usemin: Replaces references to non-minified scripts / stylesheets
» serve: Spawns up a basic local http server
» connect: livereload version of serve task