Expected Behaviour
Adding "traceResolution": true, to tsconfig.json should display logs of how imported modules are resolved. It's very useful for debugging.
Actual Behaviour
Setting traceResolution to true makes no difference in the output. The cause is that the declared ServicesHost doesn't provide a trace method.
Can we add a method that will output those informations ?
Normal output is like:
Module 'http' was resolved as locally declared ambient module in file '/home/sgoetz/workspace/foundation/ts-project/server-war/src/main/frontend/node_modules/@types/node/index.d.ts'.
Steps to Reproduce the Problem
Add "traceResolution": true, to your compilerOptions in tsconfig.json and see that nothing is different in your build.
Location of a Minimal Repository that Demonstrates the Issue.
I don't have one, but it works on any project using ts-loader
Expected Behaviour
Adding
"traceResolution": true,to tsconfig.json should display logs of how imported modules are resolved. It's very useful for debugging.Actual Behaviour
Setting
traceResolutionto true makes no difference in the output. The cause is that the declared ServicesHost doesn't provide atracemethod.Can we add a method that will output those informations ?
Normal output is like:
Steps to Reproduce the Problem
Add
"traceResolution": true,to yourcompilerOptionsintsconfig.jsonand see that nothing is different in your build.Location of a Minimal Repository that Demonstrates the Issue.
I don't have one, but it works on any project using ts-loader