You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
unable to find windi.config.js file unless i specifically set config option to absolute path of windi.config.js file. windi.config.js file is in same location as vite.config.js file. It is working but It just does not effect my configuration from windi.config.js file.
I just spent way too much time until i realized windi.config.js is ignored.
In my case it was caused by having set root to web in vite.config.ts which then apparently causes windi to search its config in there. Setting WindiCSS({ config: "../windi.config.ts" }) was able to resolve it for me without absolute paths.
But i think windi should not search the config in root since no other config files moves when specifying it, or at least also try the default location if it's not found.
Describe the bug
unable to find
windi.config.js
file unless i specifically setconfig
option to absolute path ofwindi.config.js
file.windi.config.js
file is in same location asvite.config.js
file. It is working but It just does not effect my configuration fromwindi.config.js
file.Versions
Additonal Context
vite-plugin-windicss configuration:
windi.config.js (Note: It's more than this simple configuration):
The text was updated successfully, but these errors were encountered: