Relative paths are incorrect when source map isn't in same directory as project.clj

Description

For example:

Chrome looks for dist/dist/out/foo.cljs instead of dist/out/foo.cljs
You can manually fix it by opening dist/main.map.js and changing all the dist/out to out.
I think the general solution is that all the paths must be relative to the parent of :source-map

See: https://github.com/fivetran/cljs-source-maps-incorrect-paths

Potentially related to http://dev.clojure.org/jira/browse/CLJS-591

Environment

CLJS 2030

Assignee

Unassigned

Reporter

George Fraser

Labels

None

Approval

None

Patch

Code

Priority

Major
Configure