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 }}
Repository navigation
sourcemap file contains relative path calculated from parent of outDir and basePath #8445
the sourceMap contains my private bits "some/path/to/" which we would like it not to.
This causes devTools in the browser to show a strange path that confuses users.
The obvious way to fix this would be the sourceRoot option in tsconfig.json which we could set to .. but this is not allowed:
error TS5053: Option 'sourceRoot' cannot be specified with option 'inlineSources'.
Proposal is that sourceRoot should be allowed with inlineSources. The resulting .js.map file would contain a path that doesn't resolve locally on disk, but does work at runtime. (it's similar to the pathMapping feature where design-time filesystem layout does not need to match runtime)
Activity
mhegazy commentedon Jun 7, 2016
Sheetal Nandi (@sheetalkamat) can you take a look.
Allow --sourceRoot with --inlineSources option
[Transforms] Merge master 06/06/2016 (#8991)
[Transforms] Merge master 06/14/2016 (#9169)