Closed dulee-dev closed 1 week ago
bump!
I have the same issue in vite.config.ts
i use pandacss now and very happy with it 😄
Please share a repository that reproduces the issue.
Same issue. Problem with types it seems because package.json missing
"main": "./dist/index.mjs",
"types": "./dist/index.ts",
You can try import import styleX from "vite-plugin-stylex/dist/index.mjs";
, but it just produces other issues
The plugin is an ESM package; you'll need to fix that on your end by using the .mts
extension for your vite config for example as I don't plan to support CJS builds. I'm closing this one.
I follow your direction with new qwik-city-app
but style is not applied
it seems the value of props are broken
and my vscode show error when i import "vite-plugin-stylex" (but no error in compile)
thank you for your efforts