Skip to content

Commit

Permalink
Update README to webpack 2 syntax
Browse files Browse the repository at this point in the history
Partially, due to webpack-contrib#38
  • Loading branch information
mlazowik authored Apr 29, 2017
1 parent 8cffbbb commit f74d8b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ As always, you should rather configure this in your `webpack.config.js`:
module.exports = {
...
module: {
loaders: [
rules: [
{
test: require.resolve("some-module"),
loader: "imports-loader?this=>window"
use: "imports-loader?this=>window"
}
]
}
Expand Down

0 comments on commit f74d8b9

Please sign in to comment.