Skip to content

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
@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