sourcemaps.io icon indicating copy to clipboard operation
sourcemaps.io copied to clipboard

Handle webpack:// URI source map entries

Open benvinegar opened this issue 7 years ago • 0 comments

Webpack generates source maps with external file URI that are prefixed with webpack://, e.g. webpack:///app/javascript/index.js. AFAICT, these are symbolic references to sources that existed on the users local filesystem, but are probably not on the web.

The tool is currently trying to download these, resulting in errors like:

Error: Invalid protocol: webpack: at Request.init 

See discussion in webpack/webpack#2395

benvinegar avatar Jul 01 '18 05:07 benvinegar