Skip to content

Commit 1f1dd2c

Browse files
committed
loaders should be an array
Just a little typo, thanks!
1 parent 1f803cf commit 1f1dd2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ This webpack config can load css files, embed small png images as Data Urls and
2020
``` javascript
2121
module.exports = {
2222
module: {
23-
loaders: {
23+
loaders: [
2424
{ test: /\.css/, loader: "style-loader!css-loader" },
2525
{ test: /\.png/, loader: "url-loader?limit=100000&minetype=image/png" },
2626
{ test: /\.jpg/, loader: "file-loader" }
27-
}
27+
]
2828
}
2929
};
3030
```

0 commit comments

Comments
 (0)