Skip to content
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

SvelteKit Support #266

Open
rakuzen25 opened this issue Oct 28, 2022 · 5 comments
Open

SvelteKit Support #266

rakuzen25 opened this issue Oct 28, 2022 · 5 comments
Projects

Comments

@rakuzen25
Copy link

Thanks for making this resource! Managing monorepos is indeed quite painful and takes a lot of configuration.

I'm wondering if it would be possible to support SvelteKit as one of the fullstack options? I don't seem to see anyone bringing up Svelte yet.

@mxro
Copy link
Collaborator

mxro commented Oct 28, 2022

Thanks for raising an issue! That is a great idea. I actually tried adding a Svelte template a while ago - but if I remember correctly I hit some roadblocks with the Yarn 2+ support.

Not sure if that all works by now sveltejs/language-tools#678?

@mxro mxro added this to To do in Backlog via automation Oct 28, 2022
@rakuzen25
Copy link
Author

Oh yeah, good point. I'm not too sure if PnP is working at the moment, as I'm not using it myself (I have to use node-modules linker to get full compatibility with existing libraries). At least according to SvelteKit FAQ, it's a bit wacky to use, albeit not impossible. I guess the Svelte devs aren't too enthusiastic about yarn berry huh.

Btw, they said enableGlobalCache can't be set to true, but with node-modules it's working fine - although I can see why it breaks for PnP.

@mxro
Copy link
Collaborator

mxro commented Nov 3, 2022

Interesting, looks like last time I tried making it work was September '21 while the Svelte experimental support PR was merged in October '21.

However, if I read the docs right it says that 'However, setting enableGlobalCache to true causes building to fail' - this would mean it would only work when changing the node-linker, which is definitely something I would like to avoid for the monorepo!

@rakuzen25
Copy link
Author

Sounds like SvelteKit is pending Yarn to fix whatever problem that breaks it under PnP, even with Yarn 3 (sveltejs/kit#5353).

@mxro
Copy link
Collaborator

mxro commented Nov 4, 2022

Thanks that is good to know! I will keep an 👀 on that linked issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Backlog
To do
Development

No branches or pull requests

2 participants