Skip to content

Commit

Permalink
docs(README): update to webpack 2 syntax (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlazowik authored and michael-ciniawsky committed Apr 29, 2017
1 parent 8cffbbb commit abea1c2
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 abea1c2

Please sign in to comment.