wailsapp / wails

Create beautiful applications using Go
https://wails.io
MIT License
24.39k stars 1.17k forks source link

Update Built-in Svelte Template to Svelte 4 #2888

Open KiddoV opened 1 year ago

KiddoV commented 1 year ago

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

leaanthony commented 1 year ago

Yes please :D

KiddoV commented 1 year ago

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 commented 1 year ago

Just 4 I'd say.

leaanthony commented 1 year ago

Wouldn't this be done by vite anyway?