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

Commit

Permalink
doc(README): add documentation about basename option
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanebachelier committed Oct 27, 2014
1 parent 74387df commit b732344
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,21 @@ The task will ensure that any source map for `.css` or `.js` file is revisioned

For example, `js/main.js` revisioned to `js/main.9d713a59.js` will also have `js/main.js.map` revisioned to the same hash `js/main.9d713a59.js.map`.

#### basename

Type: `boolean`
Default: `false`

This option is useful when you are only interested about having a map of the transformation of the filename, which means the summary will only output the basename.

For example you would have the following map, without taking into account which directories original and revved files would be.
```
{
'img1.png': 'img1.59bcc3ad.png',
'img2.png': 'img2.060b1aa6.png'
}
```

## License

[BSD license](http://opensource.org/licenses/bsd-license.php) and copyright Google

0 comments on commit b732344

Please sign in to comment.