alloc / alloc/saus

Vite is optimizing dependencies used by `defineStateModule` functions

Open
#61 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
38
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.