[CLJS-618] Source map "sources" is not created correctly on windows Created: 13/Oct/13 Updated: 27/Oct/13 Resolved: 27/Oct/13
To reproduce on windows 7:
Expected: "sources" field should contain path to core.cljs, not core.js.
To check if resulting source map should be merged with the source map of a compiled file, the code does a lookup in compiled-cljs by url path. This does not match on windows because of / vs \.
I have tested on windows 7 and linux.
|Comment by David Nolen [ 24/Oct/13 9:07 AM ]|
This patch no longer applies to master can we get a new one that does? Thanks!
|Comment by Jacob Mortensen [ 24/Oct/13 11:03 PM ]|
I have attached an updated patch (fix-win-path.patch).
I did run into an error when I added :source-map to options (related to source maps), but the compiler did output a source map file that looks ok on windows.
|Comment by Jacob Mortensen [ 27/Oct/13 12:58 PM ]|
The error I had has been fixed and applied: http://dev.clojure.org/jira/browse/CLJS-637.