aklinker1 / vite-plugin-web-extension

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

Support HMR in MV3 #49

Closed aklinker1 closed 1 year ago

aklinker1 commented 1 year ago

Looks like someone figured out how to do it: https://github.com/antfu/vitesse-webext/issues/59#issuecomment-1133588470

aklinker1 commented 1 year ago

Nevermind, Google and W3C decided to allow localhost access from unpacked extensions! It is working for me in Chrome Version 110.0.5481.52 (the Chrome Beta).

https://github.com/w3c/webextensions/issues/98

https://user-images.githubusercontent.com/10101283/215349355-99d0da4a-d915-4889-9eab-21fdf35a7b93.mov

So I will not be supporting Chrome < v110.

aklinker1 commented 1 year ago

I'll only be adding support to v2.