-
Notifications
You must be signed in to change notification settings - Fork 55
clean
The clean task will remove and delete any previous build dirs (which
are mapping staging
and output
config value).
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.
task.helper('rimraf', dir, cb);
» 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