Extra levels within custom URI scheme
bbrk24 opened this issue · comments
Description
source-map-explorer splits up consecutive slashes in custom URI schemes. For example, a folder webpack://src/
is divided into webpack:
, `` (empty string), and src
.
Steps to reproduce
After building a CRA project with custom CSS, run source-map-explorer 'build/static/css/*.css'
.
Files to reproduce
The relevant part is this section from the .css.map file:
"sources":["main.a44e33ca.chunk.css","webpack://src/components/Header/Header.css","webpack://src/index.css"]
Expected behavior
The URI scheme is either removed entirely or left intact.
Environment
- OS: Windows 10
- source-map-explorer Version 2.5.2
Additional context
However CRA does their source mapping, this only happens for CSS, not JS.