Skip to content

Commit 8d9ef8d

Browse files
authored
Merge pull request #3 from shirakaba/patch-1
webpackConfig.module.loaders array missing comma delimiters between objs
2 parents 892ed63 + 4b5fc8f commit 8d9ef8d

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
@@ -88,15 +88,15 @@ Keep your `webpack.config` as is just instead of using `css-loader` use `typings
8888
before:
8989
```js
9090
webpackConfig.module.loaders: [
91-
{ test: /\.css$/, loader: 'css?modules' }
91+
{ test: /\.css$/, loader: 'css?modules' },
9292
{ test: /\.scss$/, loader: 'css?modules&sass' }
9393
];
9494
```
9595

9696
after:
9797
```js
9898
webpackConfig.module.loaders: [
99-
{ test: /\.css$/, loader: 'typings-for-css-modules-loader?modules' }
99+
{ test: /\.css$/, loader: 'typings-for-css-modules-loader?modules' },
100100
{ test: /\.scss$/, loader: 'typings-for-css-modules-loader?modules&sass' }
101101
];
102102
```

0 commit comments

Comments
 (0)