wxt icon indicating copy to clipboard operation
wxt copied to clipboard

feat!: Replace `web-ext` with `@wxt-dev/runner`

Open aklinker1 opened this issue 5 months ago • 1 comments

Overview

web-ext has few problems:

  1. ~20MB install footprint (20% of WXT's total install footprint, even after using my lighter fork, web-ext-run)
  2. ~~Relies on --load-extension, which has been deprecated (there are plans to upgrade to using the CDP~~
  3. A little slower (see ./scripts/benchmarks/browser-startup.sh)
    Package Time to open browser (mean, N=20)
    web-ext 634ms
    @wxt-dev/runner 594ms

TODO

  • [ ] Can you connect a remote debugger to it?

Manual Testing

cd pacakges/wxt-demo
pnpm dev

This should open your browser.

Related Issue

N/A

aklinker1 avatar Jun 02 '25 21:06 aklinker1

Deploy Preview for creative-fairy-df92c4 failed.

Name Link
Latest commit ebdd01c0082d864e893d2d783684697c42105e77
Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/683e253adf27e90008b3c3e6

netlify[bot] avatar Jun 02 '25 21:06 netlify[bot]