Skip to content
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

The @import does not work well without preprocessor (less, etc) #113

Open
LastLeaf opened this issue Nov 30, 2023 · 1 comment
Open

The @import does not work well without preprocessor (less, etc) #113

LastLeaf opened this issue Nov 30, 2023 · 1 comment
Assignees
Labels
bug Something isn't working module:stylesheet-compiler
Milestone

Comments

@LastLeaf
Copy link
Member

Currently the stylesheet compiler does not handle @import itself.

Other preprocessors (like less-loader) can transform it properly. However, if use without preprocessors, the @import will be passed to css-loader which inlines the imported content directly, missing proper transform of rpx and class prefixes.

@LastLeaf LastLeaf added bug Something isn't working module:stylesheet-compiler labels Nov 30, 2023
@LastLeaf LastLeaf self-assigned this Nov 30, 2023
@LastLeaf LastLeaf added this to the v1.0 milestone Feb 18, 2024
@LastLeaf
Copy link
Member Author

LastLeaf commented May 6, 2024

Added a compiler feature to convert @import to a comment (for further compilation). However, this problem is still not solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module:stylesheet-compiler
Projects
None yet
Development

No branches or pull requests

1 participant