You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An entry in sources can be null according to the spec, but the full behavior of this isn't clear. For example, if the sources entry is null, then you might guess from the spec that if a sourcesContent entry is provided then it's an "anonymous" original source.
But this doesn't really work if you have multiple such anonymous sources, because browsers collapse them into one. e.g., with the following source map:
An entry in
sources
can be null according to the spec, but the full behavior of this isn't clear. For example, if thesources
entry is null, then you might guess from the spec that if asourcesContent
entry is provided then it's an "anonymous" original source.But this doesn't really work if you have multiple such anonymous sources, because browsers collapse them into one. e.g., with the following source map:
In Chrome and Firefox, you'll only see one source file in the debugger named
null
that points to the first content.Also, if you have the same map but delete
sourcesContent
:and have a file named
null
sitting around, browsers may also load that as a source as well.The text was updated successfully, but these errors were encountered: