ClojureScript

relativize source map urls

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

The user provides :output-dir and :source-map. We should simply combine these to generate the relative paths based on :output-dir. We already copy all JS & CLJS files from jars into :output-dir, we should also copy any of user's CLJS files to :output-dir if :source-map enabled. This should satisfy both the server-less and web server source map use cases.

Activity

David Nolen made changes -
Field Original Value New Value
Description If provided all original sources regardless of original location should be copied into the specified location. This way source maps can more easily be integrated into web application workflows. The user provides {{:output-dir}} and {{:source-map}}. We should simply combine these to generate the relative paths based on {{:output-dir}}. We already copy all JS & CLJS files from jars into {{:output-dir}}, we should also copy any of user's CLJS files to out. This should satisfy both the server-less and web server source map use cases.
Summary add :source-map-dir option relativize source map urls
David Nolen made changes -
Description The user provides {{:output-dir}} and {{:source-map}}. We should simply combine these to generate the relative paths based on {{:output-dir}}. We already copy all JS & CLJS files from jars into {{:output-dir}}, we should also copy any of user's CLJS files to out. This should satisfy both the server-less and web server source map use cases. The user provides {{:output-dir}} and {{:source-map}}. We should simply combine these to generate the relative paths based on {{:output-dir}}. We already copy all JS & CLJS files from jars into {{:output-dir}}, we should also copy any of user's CLJS files to out if {{:source-map}} enabled. This should satisfy both the server-less and web server source map use cases.
David Nolen made changes -
Assignee David Nolen [ dnolen ]
David Nolen made changes -
Description The user provides {{:output-dir}} and {{:source-map}}. We should simply combine these to generate the relative paths based on {{:output-dir}}. We already copy all JS & CLJS files from jars into {{:output-dir}}, we should also copy any of user's CLJS files to out if {{:source-map}} enabled. This should satisfy both the server-less and web server source map use cases. The user provides {{:output-dir}} and {{:source-map}}. We should simply combine these to generate the relative paths based on {{:output-dir}}. We already copy all JS & CLJS files from jars into {{:output-dir}}, we should also copy any of user's CLJS files to {{:output-dir}} if {{:source-map}} enabled. This should satisfy both the server-less and web server source map use cases.
David Nolen made changes -
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
David Nolen made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (1)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: