Skip to content

Commit

Permalink
Merge pull request #500 from fluxusfrequency/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
stephanebachelier committed Dec 13, 2014
2 parents 5f4ff9c + 913646d commit 5473100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ npm install grunt-usemin --save-dev
`usemin` replaces the references of scripts, stylesheets and other assets within HTML files dynamically with optimized versions of them. To do this `usemin` exports 2 built-in tasks called `useminPrepare` and `usemin` and utilizes a couple of other Grunt plugins for the optimization process. `usemin` does this by generating the subtasks for these Grunt plugins dynamically.

The built-in tasks of `usemin`:
* `useminPrepare` prepares the configuration to transform specific blocks in the scrutinized file into a single line, targeting an optimized version of the files. This is done by generating subtasks called `generated` for every optimization steps handled by the Grunt plugins listed below.
* `useminPrepare` prepares the configuration to transform specific blocks in the scrutinized file into a single line, targeting an optimized version of the files. This is done by generating subtasks called `generated` for each of the optimization steps handled by the Grunt plugins listed below.
* `usemin` replaces the blocks by the file they reference, and replaces all references to assets by their revisioned version if it is found on the disk. This target modifies the files it is working on.

Grunt plugins which `usemin` can use to optimize files:
Expand Down

0 comments on commit 5473100

Please sign in to comment.