-
-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Describe the bug
The recent PR #22 added css-modules support, but the code exporting classnames is missing the fact that class names are not a good fit for JS variables:
This causes CSS such like:
.my-class {...}To fail build due to the error like so:
2 │ export const my-class = "G6CPCq_my-class";
│ │
│ ╰─
│
│ Help: Try insert a semicolon here
Reproduction
See above
System Info
Any systemUsed Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Metadata
Metadata
Assignees
Labels
No labels