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.
cssCodeSplit
environments.xxx.build
1 parent 89f8303 commit 993e71cCopy full SHA for 993e71c
packages/vite/src/node/plugins/css.ts
@@ -762,7 +762,7 @@ export function cssPostPlugin(config: ResolvedConfig): Plugin {
762
pureCssChunks.add(chunk)
763
}
764
765
- if (config.build.cssCodeSplit) {
+ if (this.environment.config.build.cssCodeSplit) {
766
if (opts.format === 'es' || opts.format === 'cjs') {
767
const isEntry = chunk.isEntry && isPureCssChunk
768
const cssFullAssetName = ensureFileExt(chunk.name, '.css')
0 commit comments