Hacker News new | ask | show | jobs
by FractalHQ 1478 days ago
I found making Chrome extensions with Sveltekit was very easy thanks in part to its use of Vite. Any plans to support anything other than React?
2 comments

Svelte or Sveltekit specifically? I've had issues with getting the webextensions polyfill working with Sveltekit but Svelte works without any issues.

Do you have any references that you could point me to on how to get Sveltekit running to build Chrome extensions?

Sorry for the digression, but this has been a bit of a bugbear for the past month and would dearly love to know how to get around it.

Sveltekit! I used sveltekit-adapter-browser-extension[0] by Antony which conveniently handles the hashing stuff. I just made the repo public in case you want to check it out[1]. Let me know if you run into any issues!

[0] https://github.com/antony/sveltekit-adapter-browser-extensio...

[1] https://github.com/FractalHQ/nutab

It's definitely something we want to consider in the future! Right now, we want to focus on a single view framework and make the developer experience as seamless as possible with it. The framework we've chosen is React because we're most familiar with it.