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

Support @apply in @import'ed CSS files #82

Merged
merged 5 commits into from
Jun 24, 2021
Merged

Conversation

harlan-zw
Copy link
Member

Most css-loader's out of the box won't configure the `importLoaders` option. This is used to tell css-loader which loaders it should include on imported styles.

This fixes it by setting it 2. One is for windi and the other is PostCSS, there may be unexpected behaviour on non-postcss projects.
@harlan-zw harlan-zw merged commit 3960fa8 into master Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@apply doesn't work inside imported files.
1 participant