Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fix typo, syntax error and example consistency.
  • Loading branch information
granteagon committed Mar 19, 2014
1 parent ac072e3 commit 58de9d0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ By default, it will consider the directory where the looked-at file is located a
If you need to change the 'root' dir, use the `root` option (see bellow).

```js
'useminPrepare': {
useminPrepare: {
html: 'index.html'
}
```
Expand Down Expand Up @@ -154,7 +154,7 @@ For example:
* to change the `js` `steps` and `post` for the target `html`:

```js
'useminPrepare', {
useminPrepare, {
html: 'index.html',
options: {
flow: {
Expand All @@ -170,7 +170,7 @@ For example:
* to change the `js` `steps` and `post` for all targets:

```js
'useminPrepare', {
useminPrepare, {
html: 'index.html',
options: {
flow: {
Expand Down Expand Up @@ -303,7 +303,7 @@ usemin: {
Type: 'Object'
Default: Empty

Allows for user defined pattern to replace reference to files. For example, let's suppose that you want for some reason replace
Allows for user defined pattern to replace reference to files. For example, let's suppose that you want to replace
all references to `'image.png'` in your Javascript files by the revved version of `image.png` found bellow the directory `images`.
By specifying something along the lines of:

Expand Down Expand Up @@ -466,7 +466,7 @@ By using the following `useminPrepare` config:
useminPrepare: {
html: 'html/index.html',
options: {
root: 'app'
root: 'app',
dest: 'dist'
}
}
Expand Down

0 comments on commit 58de9d0

Please sign in to comment.