You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 26, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+15
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,21 @@ The task will ensure that any source map for `.css` or `.js` file is revisioned
99
99
100
100
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`.
101
101
102
+
#### basename
103
+
104
+
Type: `boolean`
105
+
Default: `false`
106
+
107
+
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.
108
+
109
+
For example you would have the following map, without taking into account which directories original and revved files would be.
110
+
```
111
+
{
112
+
'img1.png': 'img1.59bcc3ad.png',
113
+
'img2.png': 'img2.060b1aa6.png'
114
+
}
115
+
```
116
+
102
117
## License
103
118
104
119
[BSD license](http://opensource.org/licenses/bsd-license.php) and copyright Google
0 commit comments