-
Hi, I find auto launch very useful for Firefox as the extension is automatically installed as a temporary extension, but never found necessary for chrome as the extension is still there in different sessions. Is there a way to enable auto launch just for Firefox? Currently I'm setting a package.json "scripts": {
"dev:firefox": "(set TARGET=firefox) && wxt -b firefox"
}, web-ext.config.ts import { defineRunnerConfig } from 'wxt';
export default defineRunnerConfig({
disabled: process.env.TARGET !== 'firefox',
}); |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That is the only way. You might want to install and use "scripts": {
"dev:firefox": "cross-env TARGET=firefox wxt -b firefox"
}, But your way is fine if you're just using windows. |
Beta Was this translation helpful? Give feedback.
That is the only way. You might want to install and use
cross-env
for yourdev:firefox
script:But your way is fine if you're just using windows.