We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3468910 commit 3ea7666Copy full SHA for 3ea7666
README.md
@@ -68,20 +68,22 @@ module.exports = {
68
rules: [
69
{
70
test: /\.css$/,
71
- use: ExtractCssChunks.extract({
72
- use: {
73
- loader: 'css-loader',
74
- options: {
75
- modules: true,
76
- localIdentName: '[name]__[local]--[hash:base64:5]'
77
- }
78
79
- })
+ use: [
+ ExtractCssChunks.loader,
+ "css-loader"
+ ]
80
}
81
]
82
},
83
plugins: [
84
- new ExtractCssChunks(),
+ new ExtractCssChunks(
+ {
+ // Options similar to the same options in webpackOptions.output
+ // both options are optional
+ filename: "[name].css",
+ chunkFilename: "[id].css"
85
+ }
86
+ ),
87
88
89
```
0 commit comments