Replies: 5 comments 2 replies
-
V3 has been out for a while now and Google urges V2 users to migrate. Any update on this? |
Beta Was this translation helpful? Give feedback.
-
This plugin relies on multi-file inputs in the Rollup config, and the only output format appropriate to Chrome Extensions that Rollup supports with multi-file inputs is ESM (with mandatory file-splitting). This has been a blocking issue for MV3 support, since until now Chrome didn't support ES Modules for service workers. This feature landed in Chrome 91, so we can move ahead with MV3! I've set aside some time to work on this in August, and updates will be posted here. |
Beta Was this translation helpful? Give feedback.
-
MV3 is coming along nicely. You can track our progress on #94 |
Beta Was this translation helpful? Give feedback.
-
MV3 support is now available in the You can try it out on NPM: npm i rollup-plugin-chrome-extension@latest -D All that is required is a valid MV3 {
"json.schemas": [
{
"fileMatch": ["manifest.json"],
"url": "https://raw.githubusercontent.com/extend-chrome/rollup-plugin-chrome-extension/main/manifest.schema.json"
}
],
} |
Beta Was this translation helpful? Give feedback.
-
How can I have the same code but output to manifest v3 and manifest v2, considering that not all browsers support/will support manifest v3? |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
It's not a problem yet, but it will become one in the future.
Manifest v2 will become deprecated at some point, which will be replaced by Manifest v3.
I watched a little bit of the Chrome Dev Summit, and there I heard that the first version of Manifest v3 will hit Chrome Canary (I believe) around mid-January 2021.
Describe the solution you'd like
Begin reworking the plugin on a separated branch and make it to be the master branch when Manifest v2 will go deprecated.
FYI, Google has made a migration guide.
Beta Was this translation helpful? Give feedback.
All reactions