Skip to content

Commit 3699934

Browse files
ssss1029gajus
authored andcommitted
docs: update README.md to add '-loader' suffix in config (#274)
It's no longer allowed to omit the '-loader' suffix when using loaders. You need to specify 'style-loader' instead of 'style', and similarly for 'css-loader'
1 parent 76a760f commit 3699934

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ Setup:
161161
{
162162
test: /\.css$/,
163163
loaders: [
164-
'style?sourceMap',
165-
'css?modules&importLoaders=1&localIdentName=[path]___[name]__[local]___[hash:base64:5]'
164+
'style-loader?sourceMap',
165+
'css-loader?modules&importLoaders=1&localIdentName=[path]___[name]__[local]___[hash:base64:5]'
166166
]
167167
}
168168
```

0 commit comments

Comments
 (0)