Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: CSS missing after build #3217

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

sapphi-red
Copy link
Contributor

Vite expects each chunk in the bundle has a different preliminaryFileName here.
https://github.com/vitejs/vite/blob/cc980feb556bda324f1da7162a571150fcbaebed/packages/vite/src/node/plugins/css.ts#L781-L785
preliminaryFileName matches the value of fileName in renderChunk hook and fileName is unique in that hook, therefore preliminaryFileName should be unique.

https://discordapp.com/channels/804011606160703521/831456449632534538/1175056771384086651

@brc-dd
Copy link
Member

brc-dd commented Nov 17, 2023

Thanks 🙏

@brc-dd brc-dd merged commit da73b58 into vuejs:main Nov 17, 2023
7 checks passed
@sapphi-red sapphi-red deleted the fix/css-missing-after-build branch November 17, 2023 13:58
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants