samrum / vite-plugin-web-extension

A vite plugin for generating cross browser platform, ES module based web extensions.
MIT License
325 stars 32 forks source link

manifest.name must NOT have more than 45 characters #57

Closed connorlindsey closed 1 year ago

connorlindsey commented 1 year ago

What's happening? I have the following manifest name which is 44 characters long "SwipeWell — Screenshot & Swipe File Software", but when I run my extension locally, it throws an error complaining that it's more than 45 characters. I'd expect it to run correctly especially because I've manually edited the output manifest.json and the browser extension stores accept it as valid.

Expected Behavior No error is thrown

Info Using manifest v3 Using vite-plugin-web-extension: "^1.4.4"

connorlindsey commented 1 year ago

🤦‍♂️ user error, was adding a " - Dev" suffix in my vite.config I forgot about. This is working as correctly