Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make route resolution imports root-relative if
path.relative
o…
…ption is `false` (#13412) It is necessary to adhere to this setting because rewrites that SvelteKit cannot see may otherwise lead to incorrect relative paths. Example: - route resolution request to _app/route.js - rewrite to _app/route/foo.js - SvelteKit only sees the later, returning a relative `import('../immutable/...`) which is wrong, because the actual relative path would be `import('./immutable/...)`
- Loading branch information