Open jkrems opened 1 week ago
explainFiles
output:
src/direct.ts
Imported via './direct' from file 'src/main.ts'
src/indirect.ts
Imported via "#indirect" from file 'src/main.ts' with packageId 'imports-emit/src/indirect.ts@1.0.0'
src/main.ts
Part of 'files' list in tsconfig.json
Demo Repo
https://github.com/jkrems/ts-imports-emit
Which of the following problems are you reporting?
Something else more complicated which I'll explain in more detail
Demonstrate the defect described above with a code sample.
Run
tsc --showConfig
and paste its output hereRun
tsc --traceResolution
and paste its output herePaste the
package.json
of the importing module, if it existsPaste the
package.json
of the target module, if it existsn/a
Any other comments can go here
I would expect that adding indirection via
"imports": {...}
would not affect the emit. But I'm not sure if that's WAI.