Files
tsgo/testdata/baselines/reference/submodule/conformance/bundlerDirectoryModule(module=node20,moduleresolution=bundler).trace.json

20 lines
1.0 KiB
JSON

======== Resolving module '../lib' from '/app/test.ts'. ========
Explicitly specified module resolution kind: 'Bundler'.
Resolving in CJS mode with conditions 'require', 'types'.
Loading module as file / folder, candidate module location '/lib', target file types: TypeScript, JavaScript, Declaration, JSON.
File '/lib.ts' does not exist.
File '/lib.tsx' does not exist.
File '/lib.d.ts' does not exist.
File '/lib.js' does not exist.
File '/lib.jsx' does not exist.
Found 'package.json' at '/lib/package.json'.
'package.json' does not have a 'typesVersions' field.
'package.json' does not have a 'typings' field.
'package.json' does not have a 'types' field.
'package.json' has 'main' field './cjs/index.js' that references '/lib/cjs/index.js'.
File name '/lib/cjs/index.js' has a '.js' extension - stripping it.
File '/lib/cjs/index.ts' does not exist.
File '/lib/cjs/index.tsx' does not exist.
File '/lib/cjs/index.d.ts' exists - use it as a name resolution result.
======== Module name '../lib' was successfully resolved to '/lib/cjs/index.d.ts'. ========