pls (うだい)
PD🧩 Plasmo Developers
•Created by pls (うだい) on 1/8/2025 in #👾extension
How do I generate a chrome-specific manifest with a single code?
Hi, I make a browser extension by Plasmo and published it for Chrome, Edge and FireFox.
I have created a Chrome-only feature that uses Oauth2 and web api to access Google data.
This is working fine, but only the manifest.json generation is not working.
When I create a key and oauth2 item for chrome in the manifest item of package.json, it is also included in the build for firefox.
Is there any way to include the oauth2 and key only in the build for chrome?
4 replies