Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with vite/css modules #51

Closed
viveleroi opened this issue Jan 17, 2023 · 1 comment
Closed

Incompatibility with vite/css modules #51

viveleroi opened this issue Jan 17, 2023 · 1 comment

Comments

@viveleroi
Copy link

Just installed v1.1.3 into our vite-based project, in which we use CSS Modules.
tsc-files must not be using the tsc-config properly or something that vite did to recognize css modules, because this linter fails when it reaches them:

app/components/buttons/buttons.tsx(10,20): error TS2307: Cannot find module './buttons.module.css' or its corresponding type declarations.
app/components/icons/icons.tsx(6,20): error TS2307: Cannot find module './icons.module.css' or its corresponding type declarations.
app/components/window/window.tsx(8,20): error TS2307: Cannot find module './window.module.css' or its corresponding type declarations.

When I run tsc --noEmit directly, it doesn't complain.

@gustavopch
Copy link
Owner

Same as #20.

@gustavopch gustavopch closed this as not planned Won't fix, can't repro, duplicate, stale Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants