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
Hi @yepninja, this is not something we've tested for - we try to cover the most common methods of working with CSS modules, and this is not an approach I've come across before.
As far as I can tell, TypeScript won't resolve this file as it strictly looks for a that has the extension .css?module. We don't currently modify how TypeScript loads files, only how it processes them.
My best advice at this stage is use a different approach:
'./index.m.css'
'./index.module.css'
However, we're always open to a PR if you'd like to take a look at adding support for this yourself :)
Is your feature request related to a problem? Please describe.
Can imoprt css with query:
Describe the solution you'd like
Ignore query in import
Describe alternatives you've considered
customMatcher
option is not enough. Typescript can't resolve file with queryThe text was updated successfully, but these errors were encountered: