File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ It moves every `require("style.css")` in entry chunks into a separate css output
21
21
Advantages:
22
22
23
23
* Fewer style tags (older IE has a limit)
24
- * CSS SourceMap (with ` devtool: "sourcemap " ` and ` css-loader?sourceMap ` )
24
+ * CSS SourceMap (with ` devtool: "source-map " ` and ` css-loader?sourceMap ` )
25
25
* CSS requested in parallel
26
26
* CSS cached separate
27
27
* Faster runtime (less code and DOM operations)
Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ module.exports = {
23
23
{ test : / \. p n g $ / , loader : "file-loader" }
24
24
]
25
25
} ,
26
- devtool : "sourcemap " ,
26
+ devtool : "source-map " ,
27
27
plugins : [
28
28
new ExtractTextPlugin ( "css/[name].css?[hash]-[chunkhash]-[contenthash]-[name]" , {
29
29
disable : false ,
30
30
allChunks : true
31
31
} ) ,
32
32
new webpack . optimize . CommonsChunkPlugin ( "c" , "c.js" )
33
33
]
34
- } ;
34
+ } ;
You can’t perform that action at this time.
0 commit comments