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
{{ message }}
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.
Looks like going through the source path normalizing (https://github.com/systemjs/builder/blob/master/lib/sourcemaps.js#L83) adds an extra ../ to the front, which causes both the attempted file read and the contentsBySource lookup to fail. Here's an example debugging session:
Any reason the paths need to be normalized here? As far as I can see the solution is just to remove the normalization, but I'm not sure of what other implications that might have.
The text was updated successfully, but these errors were encountered:
@guybedford just ran into this issue. My src/app bundle files get their contentSource correctly in the .js.map file but my jspm_packages/ bundle files have null for all the content.
I tried patching your fix into my builder code and it worked perfectly.
Reproducible example here: https://github.com/aniranc/systemjs-builder-sourceMapContents-min-failing
Looks like going through the source path normalizing (https://github.com/systemjs/builder/blob/master/lib/sourcemaps.js#L83) adds an extra
../
to the front, which causes both the attempted file read and thecontentsBySource
lookup to fail. Here's an example debugging session:Any reason the paths need to be normalized here? As far as I can see the solution is just to remove the normalization, but I'm not sure of what other implications that might have.
The text was updated successfully, but these errors were encountered: