Skip to content

Commit b8b10cd

Browse files
abrahamBerzunzagajus
authored andcommitted
docs: detail about the configuration in production webpack v2x modified (gajus#232)
1 parent 1eff8c3 commit b8b10cd

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
@@ -209,9 +209,9 @@ Setup:
209209
```js
210210
{
211211
test: /\.css$/,
212-
loader: ExtractTextPlugin.extract({
212+
use: ExtractTextPlugin.extract({
213213
fallback: 'style-loader',
214-
use: 'css?modules&importLoaders=1&localIdentName=[path]___[name]__[local]___[hash:base64:5]!resolve-url!postcss',
214+
use: 'css-loader?modules,localIdentName="[name]-[local]-[hash:base64:6]"'
215215
}),
216216
}
217217
```

0 commit comments

Comments
 (0)