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

Cannot find module 'clsx/lite' or its corresponding type declarations #92

Open
stesvis opened this issue Mar 24, 2024 · 2 comments
Open

Comments

@stesvis
Copy link

stesvis commented Mar 24, 2024

I am unable to use clsx/lite.

// package.json
"clsx": "^2.1.0"
// MyComponent
import { clsx } from "clsx/lite";

Error:

Cannot find module 'clsx/lite' or its corresponding type declarations.

What am i missing?

@crazyx13th
Copy link

crazyx13th commented Mar 28, 2024

wanna change from cnbuilder to "clsx/lite"... same problem?!

image

@crazyx13th
Copy link

crazyx13th commented Mar 28, 2024

ah ok... typescript moduleResolution "bundler"is a new magic (?) :-)

https://www.typescriptlang.org/tsconfig#moduleResolution

see also: #89

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