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

Use forward slash in path for sources #7

Open
jmholzinger opened this issue Apr 28, 2021 · 0 comments
Open

Use forward slash in path for sources #7

jmholzinger opened this issue Apr 28, 2021 · 0 comments

Comments

@jmholzinger
Copy link

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

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