Skip to content

Use forward slash in path for sources #7

@jmholzinger

Description

@jmholzinger

On windows the source map file is generated using windows style pathing. This results in the sources being represented as individual resources in the devtools, rather than nested under a folder structure.

For instance, I would expect this:

{
  ...
  "sources": [
    "..\\src\\index.ts",
  ]
  ...
}

To instead look like this:

{
  ...
  "sources": [
    "../src/index.ts",
  ]
  ...
}

See a similar issue that was reported for the grunt-contrib-concat module:
gruntjs/grunt-contrib-concat#110

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