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 27da535 commit 7b02d95Copy full SHA for 7b02d95
css-loader-config.js
@@ -21,7 +21,7 @@ module.exports = (
21
fileExtensions.add(extension)
22
}
23
24
- if (!isServer) {
+ if (!isServer && config.optimization.splitChunks.cacheGroups) {
25
config.optimization.splitChunks.cacheGroups.styles = {
26
name: 'styles',
27
test: new RegExp(`\\.+(${[...fileExtensions].join('|')})$`),
0 commit comments