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

[Bug]: scss module :global #1111

Closed
btynflvc63 opened this issue Dec 28, 2023 · 3 comments · Fixed by #1577
Closed

[Bug]: scss module :global #1111

btynflvc63 opened this issue Dec 28, 2023 · 3 comments · Fixed by #1577
Labels
🐞 bug Something isn't working 🦀 Rspack related

Comments

@btynflvc63
Copy link

Version

0.2.12

Details

企业微信截图_a8f5c8a7-b98b-42f1-8ac7-0f5ca4ce114e 企业微信截图_b0059eef-070b-4f69-8059-156fa1e148e9

:not中的classname即使在:global中但依然被编译成module的classname了

Reproduce link

Reproduce Steps

创建module scss直接build即可复现

@btynflvc63 btynflvc63 added the 🐞 bug Something isn't working label Dec 28, 2023
@chenjiahan
Copy link
Member

@JSerFeng Can you help by checking to see if this is caused by the same thing as web-infra-dev/rspack#4801?

@JSerFeng
Copy link
Contributor

JSerFeng commented Dec 29, 2023

It's caused by SWC, but Im not sure if it's the same reason.

Tested in swc_css_modules@0.29.25 repo

image

@chenjiahan
Copy link
Member

This issue can be resolved when Rspack supports mini-css-extract-plugin: web-infra-dev/rspack#3210

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 🦀 Rspack related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants