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:
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
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
composesdeclaration 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