You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the --target=firefox-mv2 target for building a Plasmo project, if the package.json file contains a content_security_policy override, the build will fail silently (assumedly due to the different syntax between MV2 and MV3 manifests)
Version
Latest
What OS are you seeing the problem on?
Linux
What browsers are you seeing the problem on?
Firefox
Relevant log output
> plasmo build --target=firefox-mv2
🟣 Plasmo v0.52.1
🟠 The browser extension development framework.
🔵 INFO | Prepare to bundle the extension...
🔵 INFO | Loaded env from /home/kuro/tools/hiring/chrome-extension/.env.local
🔴 ERROR | Invalid Web Extension manifest
| undefined
🔴 EXIT | 👋 Good bye and have a great day!
Thanks, will check it out and log a new issue with an example! i think i was just specifying it as "content_security_policy" in the package.json manifest section, and yeah the exported csp had nothing from the ovveride 🙈
What happened?
When using the
--target=firefox-mv2
target for building a Plasmo project, if thepackage.json
file contains acontent_security_policy
override, the build will fail silently (assumedly due to the different syntax between MV2 and MV3 manifests)Version
Latest
What OS are you seeing the problem on?
Linux
What browsers are you seeing the problem on?
Firefox
Relevant log output
(OPTIONAL) Contact Details
[email protected]
Code of Conduct
The text was updated successfully, but these errors were encountered: