monorepo icon indicating copy to clipboard operation
monorepo copied to clipboard

Symlink routes aren't working

Open oneezy opened this issue 3 years ago • 2 comments
trafficstars

A new bug was introduced in 1.0.0-next.432 of SvelteKit

See SvelteKit Issue #6303

Reproduction

1.0.0-next.432 (broke) ❌ https://github.com/oneezy/sveltekit-symlink-repro-next-432

1.0.0-next.431 (working) ✅ https://github.com/oneezy/sveltekit-symlink-repro-next-431


image

oneezy avatar Aug 26 '22 22:08 oneezy

Is this what is causing also the icons and different things not to load properly when only starting the docs app?

myhrmans avatar Sep 01 '22 10:09 myhrmans

yes i believe so @myhrmans , that's why some of the icons/ images won't work when only running one app at a time i.e.

pnpm dev --filter @apps/docs

this monorepo only uses one folder for static assets which is located at ./apps/site/static so in order to get images working in all apps you'd need to symlink that static folder into every new app that's added to the apps/* folder.

I added a section in the README that explains where and when to use symlinks if you'd like to check it out.


unfortunately none of that will work until sveltekit issue #6303 is resolved.

oneezy avatar Sep 04 '22 21:09 oneezy

This is fixed

oneezy avatar Nov 20 '22 02:11 oneezy