Skip to content

Extra levels within custom URI scheme #215

Description

@bbrk24

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions