Hacking crxjs to use with manifest v2. #447
rahulbansal16
started this conversation in
General
Replies: 2 comments 1 reply
-
You could use RPCE with Rollup: https://www.npmjs.com/package/rollup-plugin-chrome-extension CRXJS does for Vite what RPCE does for Rollup, just without the fancy Vite features. |
Beta Was this translation helpful? Give feedback.
1 reply
-
You can write the manifest v2 & v3 in a JavaScript or Typescript files and conditionally output the version as suggested here: It would look something like...
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have an existing extension that is published and written in manifest version 2. I don't want to migrate it to manifest 3 as there issues of service worker becoming inactive.
Is there a possibility to use the crxjs plugin to use with manifest version 2 with some client side changes locally?
Beta Was this translation helpful? Give feedback.
All reactions