We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This has been part of this plugin since the first release :
postcss-import/index.js
Line 77 in 319c4f7
current code :
postcss-import/lib/parse-styles.js
Lines 29 to 37 in 4dbc931
@import "foo.css"; @import "https://font.service/my-font.css"; @import "bar.css";
It will be re-ordered by postcss-import :
postcss-import
@import "https://font.service/my-font.css"; foo{} bar{}
I think we should at least warn when this scenario happens :
@imports
The text was updated successfully, but these errors were encountered:
Yeah, a warning would be prudent here.
Sorry, something went wrong.
I didn't find a good way to add a warning for this edge case without adding a lot of complexity.
I did however recently created a stylelint plugin with some warnings for edge cases in CSS bundlers.
I also added a warning for this edge case there : https://github.com/csstools/postcss-plugins/blob/3163647e778da39116303234e82f0049f7f07560/plugins-stylelint/no-invalid-at-import-rules-when-bundling/index.test.js#L61-L67
I suggest we close this issue as won't fix
won't fix
No branches or pull requests
This has been part of this plugin since the first release :
postcss-import/index.js
Line 77 in 319c4f7
current code :
postcss-import/lib/parse-styles.js
Lines 29 to 37 in 4dbc931
It will be re-ordered by
postcss-import
:I think we should at least warn when this scenario happens :
@imports
can not be inlined@imports
's that were inlinedThe text was updated successfully, but these errors were encountered: