You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve error message when trying to compose a class that doesn't exist in the target CSS module.
Motivations
Thank you so much for looking into these CSS Modules issues! I'm still testing but the first problem I encountered was the following error:
Internal server error: Cannot read properties of undefined (reading 'exportAs')
It occurred on a composes declaration in which the class I was trying to compose did not exist in the target CSS module. This kind of issue was not reported previously, so it's such a nice win that it is now!!
Since the error message is a bit cryptic, would it be possible to rethrow a clearer error message?
Alternatives
No response
Additional context
No response
Contributions
I plan to open a pull request for this issue
I plan to make a financial contribution to this project
The text was updated successfully, but these errors were encountered:
Feature request
Improve error message when trying to compose a class that doesn't exist in the target CSS module.
Motivations
Thank you so much for looking into these CSS Modules issues! I'm still testing but the first problem I encountered was the following error:
It occurred on a
composes
declaration in which the class I was trying to compose did not exist in the target CSS module. This kind of issue was not reported previously, so it's such a nice win that it is now!!Since the error message is a bit cryptic, would it be possible to rethrow a clearer error message?
Alternatives
No response
Additional context
No response
Contributions
The text was updated successfully, but these errors were encountered: