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.
2 parents 27da535 + 7b02d95 commit 00083cdCopy full SHA for 00083cd
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