Commit f2d26f5
Fix Vite serving errors for symlinked node_modules
Dynamically detect when node_modules is a symlink and add the real
path to Vite's server.fs.allow list. This resolves dev toolbar errors
in environments with symlinked dependencies while remaining a no-op
when node_modules is not symlinked. Add esbuild-wasm as a dependency.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 1d58a16 commit f2d26f5
3 files changed
Lines changed: 6483 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments