-
-
Notifications
You must be signed in to change notification settings - Fork 553
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 animation is removed in css module #8211
Comments
After some investigation, this bug is caused by not adding animation names to the deps of exported name, which is impossible to fix because css-module-lexer doesn't expose local classes to keyframe deps, @ahabhgk would you rather fix it yourself or me sending a PR? |
I see, the keyframe dependency (the I think we can fix this by adding |
Sure. But I would require some assistance. First, how to add a proper test? |
Well I thought css module compose works, but it doesn't either. You may see the new commit in my repro |
System Info
System:
OS: Linux 6.11 Arch Linux
CPU: (32) x64 13th Gen Intel(R) Core(TM) i9-13980HX
Memory: 44.75 GB / 62.56 GB
Container: Yes
Shell: 3.7.1 - /usr/bin/fish
Binaries:
Node: 22.10.0 - /usr/bin/node
pnpm: 9.12.1 - /usr/bin/pnpm
npmPackages:
@rspack/cli: ^1.0.14 => 1.0.14
@rspack/core: ^1.0.14 => 1.0.14
Details
css classes is preserved, but
@keyframes
is removed.Reproduce link
https://github.com/Austaras/rspack-css-module
Reproduce Steps
see dist folder
The text was updated successfully, but these errors were encountered: