5

Closed

Source Maps - JSON-format

description

I see support for Script# source maps in AjaxMin. Is anyone working on adding support for the JSON-based source map format?

Details of the format here:
https://docs.google.com/a/ooyala.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#
Closed Jun 14, 2013 at 10:25 AM by ronlo

comments

ronlo wrote Oct 4, 2012 at 3:25 PM

It's planned, but it's not currently being worked on.

ronlo wrote Oct 23, 2012 at 10:57 PM

Released with version 4.71.

So for the EXE, specify the -map:v3 MAPPATH switch on the command-line and a V3 JSON source map file will be generated at the given MAPPATH location. For the build task, set the task's SourceMapType property to "V3" and a source map will be generated for each output file, FOO.js, in the same folder but named FOO.js.map (same as the output file, but with ".map" appended).

Full documentation coming soon to the site.

andrewdavey wrote Oct 24, 2012 at 7:42 AM

Awesome work! Thank you.

I'll try to get Cassette updated to use this soon.