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 tried to create source maps using Grunt lmd.
index.lmd.map
"sources":["i18n\en.json","js\common.js","js\main.js","js\views\App.js"]
Neither Chrome nor Firefox inspector can see such URLs.
If I change manually all double backslashes to slashes
"sources":["i18n/en.json","js/common.js","js/main.js","js/views/App.js"]
browser's inspectors see source files. Is any option to create Slash dividers in URLs of sources instead of Double Backslashes?
And the second question: can I get in my source map empty value of sourceRoot?
"sourceRoot":"". I want to get relative URLs. If I set sourcemap_www: "" in Grunt.js - I receive "sourceRoot":"/" in my source map. If I manually set "sourceRoot":"" in index.lmd.map - relative URLs work fine.
Thank you!
The text was updated successfully, but these errors were encountered:
I tried to create source maps using Grunt lmd.
index.lmd.map
"sources":["i18n\en.json","js\common.js","js\main.js","js\views\App.js"]
Neither Chrome nor Firefox inspector can see such URLs.
If I change manually all double backslashes to slashes
"sources":["i18n/en.json","js/common.js","js/main.js","js/views/App.js"]
browser's inspectors see source files. Is any option to create Slash dividers in URLs of sources instead of Double Backslashes?
And the second question: can I get in my source map empty value of sourceRoot?
"sourceRoot":"". I want to get relative URLs. If I set sourcemap_www: "" in Grunt.js - I receive "sourceRoot":"/" in my source map. If I manually set "sourceRoot":"" in index.lmd.map - relative URLs work fine.
Thank you!
The text was updated successfully, but these errors were encountered: