JS imported css files are bundled in the wrong order #5466
Replies: 3 comments 2 replies
-
This looks like a bug. If this is a Parcel 2 issue, please open up a bug report with all the requested information by the template. This is probably because we multi-thread compilation... although the bundler should re-order them |
Beta Was this translation helpful? Give feedback.
-
This is happening to me after upgrading to 2.8.9 |
Beta Was this translation helpful? Give feedback.
-
I'm also seeing this as well, at least I think so. I'm on parcel
... ends up creating a |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm importing these two files in my index.js:
Although the normalize.css is imported before main.scss it ends up to the bottom of final bundled .css file and ends up overriding some values inside main.scss.
The final bundled css currently looks something like this:
instead of this:
Is there any way I can change the bundling order of css files so it would look like the latter?
Beta Was this translation helpful? Give feedback.
All reactions