-
Notifications
You must be signed in to change notification settings - Fork 55
tasks
You'll find below a basic description and documentation for each task the grunt h5bp plugin provides. For each of these, we'll detail the task's configuration and how to change this.
- 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
- rev: Automate the revving of assets and perform the hash rename
- usemin: Replaces references to non-minified scripts / stylesheets
In addition to those tasks, which are the backbone of the build script, there are a few additionnal tasks to help you in the process:
» 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