aklinker1 / vite-plugin-web-extension

Vite plugin for developing Chrome/Web Extensions
https://vite-plugin-web-extension.aklinker1.io/
MIT License
541 stars 47 forks source link

chore: Add svelte template to starter kit #93

Closed karmaral closed 1 year ago

karmaral commented 1 year ago

This PR adresses #86.

I’ve adhered as much as possible to the current templates regarding the structure and some minor criteria (import css in the html file, don't export the app in the entrypoint, etc).

It is mostly based on Vite's Svelte, although I modified the tsconfig.json a bit to conform to the rest. It also includes, as per Vite's default, a jsconfig for the js only file, which enables IDE typechecking.

You can test it by cloning the add-svelte-template-test branch.

I've ran the test-all.sh using gitbash and it looked fine. I only ran into trouble with the vue-js/ts ones, which appeared blank, but that also happened on a freshly cloned repo, so I assume that's something else.

Please let me know if there's any issue. I've never worked on a monorepo before!


Also, I just noticed the version bump to 3.0.2. Should I include that here for all the templates?