aklinker1 / vite-plugin-web-extension

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

Include manifest schema in repository, to work offline #34

Closed Treora closed 2 years ago

Treora commented 2 years ago

Vite took a long time to build on a slow connection, or just failed if it could not fetch the schema file. Including in the repo might not be ideal either, but a step better? Hybrid/Other solutions could work too.

Also, I could not quickly find information about the schema’s copyright status. It looks freely copied to other places too though.

aklinker1 commented 2 years ago

There's also a skipManifestValidation flag that you can provide to turn it off. We can automatically set it to true if we're offline

aklinker1 commented 2 years ago

44 adds an internet connectivity check and automatically skips validation if offline.