Minimal repro: new Worker() with a dev-server (http://localhost) URL crashes the whole Chrome browser process.
npm install
npm run devThen open the side panel (click the extension action).
background.jslogs achrome-extension://.../assets/worker-*.jsURL — bundled, fine.sidepanel/main.jslogs ahttp://localhost:3000/...worker.jsURL and callsnew Worker(workerUrl)→ browser process crashes.
Same ?worker&url import, different URL: background is bundled, sidepanel is served by the Vite dev server.