antfu-collective / vitesse-webext

⚡️ WebExtension Vite Starter Template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Popup & Option doesn't work when after build.

iNuoers opened this issue · comments

Describe the bug

Popup & Option doesn't work when after build.

  1. pnpm build
  2. add extend
  3. click extend icon
  4. popup page is empty

Reproduction

Popup & Option doesn't work when after build

System Info

Win11, Edge

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
commented

what's the error message?

I have the same issue in Firefox, the popup just shows Vite server did not start.

Bildschirmfoto 2024-04-01 um 12 24 03

I'm using pnpm@8.15.5.

commented

Firefox doesn't support HMR in the dev mode of MV3. You need to run EXTENSION=firefox pnpm build to create a Firefox extension for production.

https://bugzilla.mozilla.org/show_bug.cgi?id=1864284