You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the output path of the source with '' will be not correct when I deploy them to the server. Is it a bug? or where can I have an option to make the path separator to '/', but not system default sep ''?
Thank you.
The text was updated successfully, but these errors were encountered:
benxshen
changed the title
source map outputs '\\' but not '/' in the sources list on Windows
source map outputs '\\' but not '/' in the sources path list on Windows
Dec 12, 2015
I think you're right, that this is a bug. When I get a chance, I'll look into it further to confirm whether it's a bug and get it fixed. Thanks for reporting it!
I looked into this further, and I honestly don't know whether it's a bug or not. The source maps are created by Exorcist, which in-turn uses mold-source-map. That's where the backslashes are coming from. So, it may be a bug in mold-source-map, or it may not be a bug at all. I don't know the details of the source map spec, so I can't say for sure.
Here is my simple gulpfile, just copying from the given sample of simplifyify README.md:
And the output of the bundle.js.map as below (my OS is Windows 10 64bit)
however, if I use
browserify app.js --debug | exorcist bundle.js.map > bundle.js
, I will get as follow:I think the output path of the source with '' will be not correct when I deploy them to the server. Is it a bug? or where can I have an option to make the path separator to '/', but not system default sep ''?
Thank you.
The text was updated successfully, but these errors were encountered: