Is your feature request related to a problem? Please describe.
We use WebResourceRequested to return JS bundles as streams using a custom URL. Anytime we load the script in the dev tools debugger, it says there's a sourcemap but it can't be loaded. I attempted to add a handler for the .js.map URL, but it's never called. In the console output I see a warning that it tried to request the sourcemap over the network and failed.
Describe the solution you'd like and alternatives you've considered
I would like the dev tools sourcemap request to be hooked by WebResourceRequested. It would make debugging much easier.
The best alternative I know of would be to embed the sourcemap inline. But then I need separate debug and release versions of the JS bundle.
AB#31914830
Is your feature request related to a problem? Please describe.
We use WebResourceRequested to return JS bundles as streams using a custom URL. Anytime we load the script in the dev tools debugger, it says there's a sourcemap but it can't be loaded. I attempted to add a handler for the .js.map URL, but it's never called. In the console output I see a warning that it tried to request the sourcemap over the network and failed.
Describe the solution you'd like and alternatives you've considered
I would like the dev tools sourcemap request to be hooked by WebResourceRequested. It would make debugging much easier.
The best alternative I know of would be to embed the sourcemap inline. But then I need separate debug and release versions of the JS bundle.
AB#31914830