-
Notifications
You must be signed in to change notification settings - Fork 690
Open
Labels
Domain: Module ResolutionRelated to module resolution and module checker errorsRelated to module resolution and module checker errorsnode10 resolution
Description
This happens when a dependency's package.json looks like this:
"exports": {
".": {
"node": {
"types": "./dist/index.d.ts",
"module": "./dist/index.module.js",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"browser": {
"types": "./dist/index.d.ts",
"import": "./dist/index.module.js",
"require": "./dist/index.js"
},
"default": "./dist/index.module.js",
},
"./package.json": "./package.json"
},
if you add "types": "./dist/index.d.ts"
after the default the issue is fixed. This does not match regular typescript.
fknop, michal-weglarz-veyt, marg51 and konomae
Metadata
Metadata
Assignees
Labels
Domain: Module ResolutionRelated to module resolution and module checker errorsRelated to module resolution and module checker errorsnode10 resolution