-
Notifications
You must be signed in to change notification settings - Fork 922
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] CSS Modules support broken in 3.3.3 #3226
Comments
Thanks for filing. Yes behavior of CSS Modules did change in that commit as stated, but tests were added to test this exact behavior: https://github.com/snowpackjs/snowpack/blob/main/test/snowpack/cssModules/index.test.js#L148, and they’re currently passing. Are you able to provide a reproduction of this bug, or add a failing test in the Snowpack repo itself? |
Actually this seems to be a duplicate of #3219 |
Bug should be fixed as of |
Thanks! One thing I noticed today was that your experimental module combiner had a similar bug. I'll see if it's fixed in 3.3.6. |
FYI I noted on #2998 that both ESbuild and Webpack bundling fail to handle CSS modules in 3.8.8. |
Describe the bug
The JSON payload of CSS modules is empty in 3.3.3+
I've downloiaded
It seems to be this commit 8329444
To Reproduce
Run snowpack with a module
Import in a JS file
Observe the block.modules.css.proxy.js content:
let json
should have a value.Confirm that it works in 3.3.2
The text was updated successfully, but these errors were encountered: