From:  Brian Slesinsky <skybrian@google.com>
Date:  10 May 2013 07:02:04 Hong Kong Time
Newsgroup:  news.mozilla.org/mozilla.dev.js-sourcemap
Subject:  

Re: Allow utilizing fragments of the minified file name for map file names

NNTP-Posting-Host:  63.245.216.66

On Thu, May 9, 2013 at 3:55 PM, Fitzgerald, Nick wrote:

> On 5/8/13 6:01 AM, Michał Gołębiowski wrote:
>
>> Well, the most elegant way would be IMHO to expand the @sourceMappingURL
>> syntax to be able to provide the source file name or even do some basic
>> string operations on it. I understand such a solution would be a problem
>> considering the aim is to have many implementations of reading the source
>> map path so such complications would hamper the adoption speed. Am I right
>> that's the main problem?
>>
> This sounds like over engineering to me.
>
> In my mind, the whole implicit naming structure would exist for the "plug
> and play" use case for when you want source maps to Just Work (tm) and if
> you need anything more complicated, you are free to specify an exact URL as
> we do currently.
>
> What am I missing?


It might not work so well for debugging non-open source web apps in
production? But I don't have anything constructive to add.

- Brian