dolanmiu / vite-plugin-scope-tailwind

Encapsulate and scope your TailwindCSS styles to your library and prevent them affecting styles outside.
23 stars 3 forks source link

Fixes: Could not find a declaration file for module #8

Closed wheeOs closed 1 month ago

wheeOs commented 4 months ago

might fix fixes #5 (tested it) declaration issue. main.d.ts is located under dist/src in my case of the module: vite-plugin-scope-tailwind.

Current error message when importing: Could not find a declaration file for module 'vite-plugin-scope-tailwind'. '/..../node_modules/vite-plugin-scope-tailwind/dist/cjs/index.cjs' implicitly has an 'any' type.

dolanmiu commented 1 month ago

Thank you! Will cut a release shortly