aklinker1 / vite-plugin-web-extension

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

Dev mode `host_permissions` warning #97

Closed 4tomic closed 1 year ago

4tomic commented 1 year ago

https://github.com/aklinker1/vite-plugin-web-extension/blob/6058999416aa8b58e108760228b971b638da8700/packages/vite-plugin-web-extension/src/plugins/manifest-loader-plugin.ts#LL303C2-L303C2

according to this Chrome extension doc, host permission in Manifest v3 should set in a host_permissions field separately

aklinker1 commented 1 year ago

Fixed by https://github.com/aklinker1/vite-plugin-web-extension/commit/d5ea459f78ce5847a0c40cd8c5f46c11e297e922, released in v3.0.3.