Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
Merge pull request #84 from mateatslc/master
Browse files Browse the repository at this point in the history
Change 'sourcemap' to 'source-map'
  • Loading branch information
sokra committed Nov 2, 2015
2 parents a03c82c + d48eefd commit 8a9f3b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions example/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ module.exports = {
{ test: /\.png$/, loader: "file-loader" }
]
},
devtool: "sourcemap",
devtool: "source-map",
plugins: [
new ExtractTextPlugin("css/[name].css?[hash]-[chunkhash]-[contenthash]-[name]", {
disable: false,
allChunks: true
}),
new webpack.optimize.CommonsChunkPlugin("c", "c.js")
]
};
};

0 comments on commit 8a9f3b8

Please sign in to comment.