source-map-explorer icon indicating copy to clipboard operation
source-map-explorer copied to clipboard

Extra levels within custom URI scheme

Open bbrk24 opened this issue 4 years ago • 1 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.

bbrk24 avatar Nov 01 '21 04:11 bbrk24

It seems like #137 may be a misinterpretation of this issue.

bbrk24 avatar Nov 01 '21 04:11 bbrk24