vite icon indicating copy to clipboard operation
vite copied to clipboard

fix(css): ensure order of extracted CSS

Open susnux opened this issue 1 year ago • 1 comments

Description

Without this the order of the extracted CSS rules is defined by the order renderChunk of the css plugin is called. So with this the order of CSS rules is always in alphabetical order of the output chunks.

Previously on my project every time I ran the build the output style.css was different by rule order, which caused unnecessary conflicts.

susnux avatar May 03 '24 13:05 susnux

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

/ecosystem-ci run

patak-dev avatar May 30 '24 07:05 patak-dev

Rebased to resolve the conflict.

susnux avatar May 30 '24 08:05 susnux

/ecosystem-ci run

bluwy avatar Jun 10 '24 05:06 bluwy