pretty-error icon indicating copy to clipboard operation
pretty-error copied to clipboard

Extracts wrong name when used with webpack

Open jantimon opened this issue 8 years ago • 0 comments

Webpack uses query strings for it loaders. When executing webpack code with source maps and pretty-error I get invalid file names:

  - loader.js:10 eval
    /a/path/template.jade?/a/path/loader.js:10:57

I would expect template.jade however pretty error displays loader.js.

jantimon avatar Jan 11 '16 20:01 jantimon