vitesse-webext icon indicating copy to clipboard operation
vitesse-webext copied to clipboard

Popup & Option doesn't work when after build.

Open iNuoers opened this issue 1 year ago • 3 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

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

iNuoers avatar Mar 30 '24 04:03 iNuoers

what's the error message?

tmkx avatar Mar 30 '24 14:03 tmkx

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 [email protected].

michaelhue avatar Apr 01 '24 10:04 michaelhue

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

tmkx avatar Apr 01 '24 11:04 tmkx