Hacker News new | ask | show | jobs
by shankspeaks 1480 days ago
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.

1 comments

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