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
Manifest v3 migration #24
Manifest v3 migration #24
Conversation
Thanks for the input!
Can this be done intelligently? Like switching to different implementation base on the |
I think we can do so yes, let's try. |
4737dc0
to
ed52c87
Compare
How do you like something like this? ⬆️ |
Considering that Firefox may not be compatible with v3 anytime soon, I recommend adding an explanation to have 2 different Like specified here: https://neutrinojs.org/usage/#generating-multiple-builds |
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.
The implementation looks so cool! Can you just copy everything inside test/
to test/manifestV3/
and make changes there instead? I'll take care of the rest.
I'd recommend not having a /test folder and using the branch system to separate the new version 👍 let say:
that way we don't add noise to the repository and we can backport any potential hotfix of the v2 also when publishing the package you can set the |
I was going to do something like
so that I can test both of them. What's the downside of this approach? |
Ah sorry, only for the tests, ok, I misunderstood, i thought you wanted to duplicate the whole code, in a subfolder for the v3 |
Took me a while but I finally figured out how to build two presets at the same time.
|
LGTM! Thanks for the PR! |
As proposed in #22 here is a pull request to support the new manifest v3.
A few considerations:
importScripts()
method to reuse most of the existing implementation.Work left to do: