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

Update Built-in Svelte Template to Svelte 4 #2888

Open
KiddoV opened this issue Sep 6, 2023 · 4 comments
Open

Update Built-in Svelte Template to Svelte 4 #2888

KiddoV opened this issue Sep 6, 2023 · 4 comments
Labels
Enhancement New feature or request

Comments

@KiddoV
Copy link
Contributor

KiddoV commented Sep 6, 2023

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

Please update built-in svelte template to Svelte 4.
Will have some migration https://svelte.dev/docs/v4-migration-guide

Thanks!

Describe alternatives you've considered

No response

Additional context

No response

@KiddoV KiddoV added the Enhancement New feature or request label Sep 6, 2023
@leaanthony
Copy link
Member

Yes please :D

@KiddoV
Copy link
Contributor Author

KiddoV commented Sep 7, 2023

Should we separate the template to svelte3, svelte3-ts and svelte4, svelte4-ts or we assuming everybody using Svelte 4? :).

Svelte 4 required a lot of new techs.

Upgrade to Node 16 or higher. Earlier versions are no longer supported. (#8566)
If you are using SvelteKit, upgrade to 1.20.4 or newer (sveltejs/kit#10172)
If you are using Vite without SvelteKit, upgrade to vite-plugin-svelte 2.4.1 or newer (#8516)
If you are using webpack, upgrade to webpack 5 or higher and svelte-loader 3.1.8 or higher. Earlier versions are no longer supported. (#8515, 198dbcf)
If you are using Rollup, upgrade to rollup-plugin-svelte 7.1.5 or higher (198dbcf)
If you are using TypeScript, upgrade to TypeScript 5 or higher. Lower versions might still work, but no guarantees are made about that. (#8488)

@leaanthony
Copy link
Member

Just 4 I'd say.

@leaanthony
Copy link
Member

Wouldn't this be done by vite anyway?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants