antfu-collective / vitesse-webext

⚡️ WebExtension Vite Starter Template
MIT License
2.92k stars 225 forks source link

fix: add `build-firefox` to support background script #146

Closed hakadao closed 1 year ago

hakadao commented 1 year ago

Description

The original build command doesn't support the Firefox background script a265e768488f78b5586c95cf35781f5

Linked Issues

Additional context

antfu commented 1 year ago

Not so sure as it duplicates the scripts, making it harder to maintain. Maybe we could document it instead, or have it in pack:firefox?

hakadao commented 1 year ago

Perhaps this is the right thing to do, but I currently don't know how to make the changes 😕 I'm sorry for taking so long reply🙏