Skip to content

Commit 4b5fc8f

Browse files
authored
webpackConfig.module.loaders array missing comma delimiters between objects.
1 parent 2bb351f commit 4b5fc8f

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
@@ -80,15 +80,15 @@ Keep your `webpack.config` as is just instead of using `css-loader` use `typings
8080
before:
8181
```js
8282
webpackConfig.module.loaders: [
83-
{ test: /\.css$/, loader: 'css?modules' }
83+
{ test: /\.css$/, loader: 'css?modules' },
8484
{ test: /\.scss$/, loader: 'css?modules&sass' }
8585
];
8686
```
8787

8888
after:
8989
```js
9090
webpackConfig.module.loaders: [
91-
{ test: /\.css$/, loader: 'typings-for-css-modules-loader?modules' }
91+
{ test: /\.css$/, loader: 'typings-for-css-modules-loader?modules' },
9292
{ test: /\.scss$/, loader: 'typings-for-css-modules-loader?modules&sass' }
9393
];
9494
```

0 commit comments

Comments
 (0)