-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Questions about the order of css @import
#1946
Comments
@import
@import
Yes, |
We are migrating project which use |
I'm planning to change this to pass invalid |
Awesome work! Thank you very much. |
When I attempt to build following css files:
The result of
esbuild entry.css --bundle
:And the result of
esbuild entry.css
:Despite the warning alert, I still don't understanding why
lib2.css
had bundled, and even its order has changed.According css @import rules defined by w3c, The results I expect to get is:
postcss-import
will also give the above result.So my question is: why just warn, but not eliminate
lib2.css
? Maybe it's for performance reasons, or maybe the order doesn't matter?The text was updated successfully, but these errors were encountered: