Skip to content

Commit ce9337f

Browse files
committed
no need to modify source url in style-rewriter now we have cache busting
1 parent 577a547 commit ce9337f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/style-rewriter.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,6 @@ module.exports = function (css, map) {
8181
.process(css, opts)
8282
.then(function (result) {
8383
var map = result.map && result.map.toJSON()
84-
// ensure we give the style source a unique name
85-
// so that Webpack doesn't get confused
86-
if (map) {
87-
map.sources[0] = query.file + '.style'
88-
}
8984
cb(null, result.css, map)
9085
})
9186
.catch(function (e) {

0 commit comments

Comments
 (0)