webextension-toolbox / webpack-webextension-plugin

Webpack plugin that compiles WebExtension manifest.json files and adds smart auto reload
https://www.npmjs.com/package/@webextension-toolbox/webpack-webextension-plugin
Other
80 stars 21 forks source link

Plugin skips service worker script map #583

Open alfred82santa opened 5 months ago

alfred82santa commented 5 months ago

When I use this plugin, the map file generated for background.service_worker script is skipped.

tm1000 commented 2 months ago

Yes that's because the websocket listener is injected which reloads the extension when in dev mode through the respective browser. Unfortunately I haven't found a better way to inject this file and keep the mapping at the same time