Open pietschy opened 7 years ago
I think this could be due to the rootDirs
option, what exactly is it for? As this setting is related to module resolution, and runtime module resolution is handled entirely by systemjs, it may be that the plugin should not pass this option through when transpiling files.
Have you tried using the paths
option instead?
Also see https://github.com/Microsoft/TypeScript/issues/12246 as it sounds very similar.
Excellent, thanks for the pointers. I'll dig a bit further into the documentation and make sure I'm not just confused about how it should work.
Hi there, I'm getting the wrong path information being generated in my source map files. Details are:
Versions:
jspm@0.17.0-beta.40
systemjs@0.20.9 Dev
plugin-typscript@7.0.4
typescript@2.1.4
(and I also tried with 2.2.0 with the same outcome)Config
jspm bundle app ../public/frontend --source-map-contents
jspm.config.js
file:tsconfig.json
file:Result
The
sources:
entry inapp.map.js
has:(it should be at
../../frontend/common/clock/clock.module.ts
)Any ideas?