Closed as not planned
Description
Reposting from VSCode repo for @magnusriga. I transferred the original issue to the wrong repo and now can't transfer it back
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.84.2
- OS Version: Windows 11 Pro
Steps to Reproduce:
- Build any project (A) with a dependency on another project (B), where project B's package.json exports files using the
exports
field - Observer how Intellisense does not work
- Insert the
main
andtypes
fields and see that Intellisense starts working again
Intellisense Works When main
and types
are set:
Package B's package.json
Package A's import
(notice the Intellisense pop-up. It is possible to ctrl-click the path.)
Intellisense Does Not Work When only exports
is set:
Package B's package.json
(removed main
and types
)
Package A's import
(not possible to crl+click to find the package, i.e. no Intellisense)