PlasmoHQ / plasmo

🧩 The Browser Extension Framework
https://www.plasmo.com
MIT License
10.14k stars 350 forks source link

[RFC] Svelte 5 (@next) support #845

Open MentalGear opened 8 months ago

MentalGear commented 8 months ago

How do you envision this feature/change to look/work like?

Svelte 5 (svelte@next) brings major productivity and code unification improvements, among other things allowing to use reactivity in any js/ts file.

I tried using svelte@next with plasmo, but plasmo errors out saying that the frontend is not supported.

What is the purpose of this change/feature? Why?

Add svelte@next to list of allowed frontends to be used with plasmo.

(OPTIONAL) Example implementations

No response

(OPTIONAL) Contribution

Verify canary release

Code of Conduct

braden-w commented 3 months ago

Same here. Tried to upgrade my extension to Svelte 5 and was getting a ton of issues. Eventually, I realized that even a skeleton project that is Svelte 5 rather than Svelte 4 would give the following error:

🔴 ERROR | No supported UI library found. You can file an RFC for a new UI Library here: https://github.com/PlasmoHQ/plasmo/issues