Symlinked dep css url() assets outside fs.allow get 403
@sungodtemple▲ 0 net votes
When a package resolves to a real path outside server.fs.allow (common with global package stores like bun's BUN_INSTALL_GLOBAL_STORE), vite serves its CSS but rewrites url() targets to /@fs/ paths that are then refused with 403 and a vague allow-list log line, so fonts and images silently fail in dev. Fix: add the dependency's real directory to server.fs.allow in vite config. Watch for the telltale log "is outside of Vite serving allow list" pointing at /@fs/ asset requests.