From:  "Fitzgerald, Nick" <nfitzgerald@mozilla.com>
Date:  08 Feb 2014 01:35:53 Hong Kong Time
Newsgroup:  news.mozilla.org/mozilla.dev.js-sourcemap
Subject:  

Re: Make the file property useful

NNTP-Posting-Host:  63.245.216.66

On 2/6/14 11:10 PM, Simon Lydell wrote:
> The file property is described as:
>
>> An optional name of the generated code that this source map is associated with.
> I don't understand how that is useful. I propose:
>
> A required path to the generated code that this source map is associated with, relative to the source map itself. (It should _not_ be joined with the sourceRoot.)

To clarify: you want a filepath, not a url path?

I'm not against making source maps easier to build tooling around, but
I'm worried about making it even harder to move source maps, original
and generated sources around your filesystem without having to update
significant portions of the source map. Any proposal we agree upon
should take this into account and not make the situation any worse, or
better yet improve it.

Nick