Closed dnwhte closed 3 weeks ago
I think this is an unsupported CSS feature of Rspack and has nothing to do with lightningcss-loader
.
Maybe related: https://github.com/web-infra-dev/rspack/issues/5340
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
Version
Details
The builtin:lightningcss-loader ignores layers specified on imports in the root css file.
Index.css
Expected Output
Actual Output
Reproduce link
https://codesandbox.io/p/devbox/9lyypl?migrateFrom=7rj2zn
Reproduce Steps
@import './component.css' layer(components)