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
Current heuristics of optimizeDeps.entries: ["routes/**"] turns out to be a bit erroneous since it tries to pre-bundle entire server dependency and causes issues (warning?) for examples
It's not so critical since it shouldn't be that hard to manually identify such "server heavy" deps and configure by themselves, but the error message looks quite shocking at first for new users, so probably need to do something.
Simplest heuristic would be to crawl only local files (e.g. under app/) and find "use client" on our side, then use it as optimizeDeps.entries.
The text was updated successfully, but these errors were encountered:
Current heuristics of
optimizeDeps.entries: ["routes/**"]
turns out to be a bit erroneous since it tries to pre-bundle entire server dependency and causes issues (warning?) for examples@node-rs/argon2
in chore: test next on vite lucia-auth-examples#1 (comment)bcrypt
in chore: test next on vite next-learn#1It's not so critical since it shouldn't be that hard to manually identify such "server heavy" deps and configure by themselves, but the error message looks quite shocking at first for new users, so probably need to do something.
Simplest heuristic would be to crawl only local files (e.g. under
app/
) and find"use client"
on our side, then use it asoptimizeDeps.entries
.The text was updated successfully, but these errors were encountered: