[BUG] How should I automatically translate the chrome api when building a firefox version? #1230
Open
2 of 3 tasks
Labels
bug
Something isn't working
What happened?
I want to try adapting firefox, but a lot of the API calls to browser I use chrome.*. However, when building --target=firefox, it looks like the plasmo framework doesn't translate automatically for me properly (chrome. -> browser.) Including, but not limited to, “chrome.runtime, chrome.storage, chrome.tabs, chrome.i18n”, which results in not work correctly in firefox.
Is there something I'm doing wrong? Or is this feature currently missing?
Version
Latest
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
Firefox
Relevant log output
(OPTIONAL) Contribution
Code of Conduct
The text was updated successfully, but these errors were encountered: