-
Notifications
You must be signed in to change notification settings - Fork 2
Compatibility with vite #2
Copy link
Copy link
Open
Description
The command create the postcss.config.js and tailwind.config.js.
If you try to run it with vite it will cause a fail to load config error (Failed to load PostCSS config)
Vite expect commonjs file extension to be .cjs
For now my workaround is to rename the postcss.config.js and tailwind.config.js to postcss.config.cjs and tailwind.config.cjs
I don't familiar with do a PR on public projects and also didn't quite sure if there're a reason for the file to be .js file.so I'm just gonna file an issue here. if anyone encounter the same problem try rename the file, if author can change to generated file that should fix the compatibility with vite problem
thank you for the tool btw, it's more convenient for me who just start using daisyui.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels