Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra levels within custom URI scheme #215

Open
bbrk24 opened this issue Nov 1, 2021 · 1 comment
Open

Extra levels within custom URI scheme #215

bbrk24 opened this issue Nov 1, 2021 · 1 comment

Comments

@bbrk24
Copy link

bbrk24 commented Nov 1, 2021

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
Copy link
Author

bbrk24 commented Nov 1, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant