We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b0bb6b commit a3cc9d3Copy full SHA for a3cc9d3
scripts/utils.ts
@@ -57,7 +57,7 @@ export const createConfig = (
57
).replace(/\.js$/, () => (minify ? '.min.js' : '.js'))
58
},
59
assetFileNames(chunk) {
60
- if (chunk.name === 'docup.css') {
+ if (chunk.name?.endsWith('docup.css')) {
61
return `docup${minify ? '.min' : ''}.css`
62
}
63
return chunk.name!
0 commit comments