Skip to content

fix(css): support external CSS with lightningcss#18389

Merged
sapphi-red merged 6 commits into
vitejs:mainfrom
sapphi-red:fix/css-lightning-support-external
Jun 11, 2026
Merged

fix(css): support external CSS with lightningcss#18389
sapphi-red merged 6 commits into
vitejs:mainfrom
sapphi-red:fix/css-lightning-support-external

Conversation

@sapphi-red

Copy link
Copy Markdown
Member

Description

Tried to make external CSS work in lightningcss to provide a workaround to #18384 in a way, but found out that lightningcss does not support this (parcel-bundler/lightningcss#479).

refs #18384
refs #14505

@sapphi-red sapphi-red added feat: css p3-minor-bug An edge case that only affects very specific usage (priority) labels Oct 18, 2024
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@sapphi-red sapphi-red added this to the 8.1 milestone Apr 15, 2026
@sapphi-red

Copy link
Copy Markdown
Member Author

It seems this isn't working when analyzeDependencies: true, is passed to lightningcss

@sapphi-red sapphi-red marked this pull request as ready for review June 2, 2026 15:13
@sapphi-red sapphi-red merged commit d64a1a5 into vitejs:main Jun 11, 2026
19 checks passed
@sapphi-red sapphi-red deleted the fix/css-lightning-support-external branch June 11, 2026 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat: css p3-minor-bug An edge case that only affects very specific usage (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant