Skip to content

Conversation

sapphi-red
Copy link
Member

Description

When legacy chunks are not generated, build.cssTarget does not have to be set because CSS will be only used by modern chunks and the lowering is handled by esbuild.

@sapphi-red sapphi-red added plugin: legacy p3-minor-bug An edge case that only affects very specific usage (priority) labels Jul 10, 2025
@patak-dev patak-dev merged commit d2c81f7 into vitejs:main Jul 11, 2025
18 checks passed
@sapphi-red sapphi-red deleted the fix/legacy-dont-lower-css-if-legacy-chunks-are-not-generated branch July 11, 2025 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3-minor-bug An edge case that only affects very specific usage (priority) plugin: legacy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants