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

[0.7.15]: Sourcemap broken in Windows #463

Closed
darkdamp opened this issue Oct 16, 2020 · 1 comment
Closed

[0.7.15]: Sourcemap broken in Windows #463

darkdamp opened this issue Oct 16, 2020 · 1 comment

Comments

@darkdamp
Copy link

I just updated my site from "esbuild": "^0.6.27" to "esbuild": "^0.7.15"
This sort of broke my sourcemaps in Windows 10 chrome

Here's with 0.7.15
1
2

The "fix" for it seem to be to put every path in the .js.map file into forward slashes
3
4

However the chrome debugger also won't trigger on any breakpoints in 0.7.15 but I can't find out why.

@evanw
Copy link
Owner

evanw commented Oct 16, 2020

Ah Windows, the source of the world's path separator problems. Sorry about this. It looks like I didn't catch this problem because my tests are converting \ to /. Will fix.

I wonder why breakpoints are a problem. An initial local test on my end indicates that they still work.

@evanw evanw closed this as completed in 73573ea Oct 16, 2020
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

2 participants