diff --git a/README.md b/README.md index bdf6a236..6f03a2d8 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ It moves every `require("style.css")` in entry chunks into a separate css output Advantages: * Fewer style tags (older IE has a limit) -* CSS SourceMap (with `devtool: "sourcemap"` and `css-loader?sourceMap`) +* CSS SourceMap (with `devtool: "source-map"` and `css-loader?sourceMap`) * CSS requested in parallel * CSS cached separate * Faster runtime (less code and DOM operations) diff --git a/example/webpack.config.js b/example/webpack.config.js index 7978b927..e3d1f7cb 100644 --- a/example/webpack.config.js +++ b/example/webpack.config.js @@ -23,7 +23,7 @@ module.exports = { { test: /\.png$/, loader: "file-loader" } ] }, - devtool: "sourcemap", + devtool: "source-map", plugins: [ new ExtractTextPlugin("css/[name].css?[hash]-[chunkhash]-[contenthash]-[name]", { disable: false, @@ -31,4 +31,4 @@ module.exports = { }), new webpack.optimize.CommonsChunkPlugin("c", "c.js") ] -}; \ No newline at end of file +};