-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
π Symlink routes no longer work (1.0.0-next.432 β PR #6174) #6303
Comments
I believe the issue is somewhere around here: Doing a little research I found the symlink issue was fixed by @mikenikles in PR #4957 and recently broke with PR #6174 The Fix (commit eb2ab91)
Originally posted by @mrkishi in #4957 (review) With the recent rewrite from @Rich-Harris I believe this was accidentally written back to the old // kit/src/core/sync/create_manifest_data/index.js (lines 159-161)
const files = fs.readdirSync(dir, {
withFileTypes: true
}); |
Same issue applies on Linux. |
* [fix] symlink routes Fixes #6303 * add test * support symlinks * lint * allow symlinked endpoints * try this * ugh Co-authored-by: Rich Harris <hello@rich-harris.dev>
Describe the bug
Symlink routes / Symbolic link routes are no longer working since Sveltekit version
1.0.0-next.432
(PR #6174)Reproduction
1.0.0-next.431 (working)
β https://github.com/oneezy/sveltekit-symlink-repro-next-431
1.0.0-next.432 (broke)
β https://github.com/oneezy/sveltekit-symlink-repro-next-432
Logs
System Info
Severity
blocking all usage of SvelteKit
Additional Information
We use a monorepo with multiple separate apps that we link together via symlink routes so this one's a showstopper for us.
The text was updated successfully, but these errors were encountered: