-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to extension manifest v3 #39
base: main
Are you sure you want to change the base?
Conversation
"version": "{{packageVersion}}", | ||
"manifest_version": 2, | ||
"browser_action": { | ||
"version": "0.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This gets populated by yarn build:version-manifest
in the chrome
folder
Looks like I might have jumped the gun on this one, Firefox doesn't support manifest version 3. This means that #8 and #7 can probably proceed and hopefully manifest version 3 gets more stable across all browsers. Until then, I'll stick with version 2 although there are still some useful refactors that could be pulled from this branch, like making |
Firefox now supports manifest v3. This might be ready to go now! |
Improves compatibility and futureproofs the extension by upgrading to manifest v3 and updating breaking changes. More details at Chrome's Welcome to Manifest V3. Some of the changes included here:
sveltekit-adapter-chrome-extension
instead of static to avoid CSP issuesbackground
scriptschrome
the idempotent output build folder from runningyarn build
, no longer using some symlinks, and makes it directly packagable after.