saus
saus copied to clipboard
Vite is optimizing dependencies used by `defineStateModule` functions
Currently, you have to add any Node.js dependencies used by your defineStateModule functions to the optimizeDeps.exclude list in your Vite config, or else Vite will optimize them, which can lead to startup errors in some cases.