You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
will error. Inspecting further it looks to be due to the fact that this coponents module exports is not defined in the package.json. It needs to do so.
Package
react
Package version
8.121.11
React version
N/A
Environment
Current Behavior
If you convert your typescript moduleResolution to
bundler
fromnode
, the following import:will error. Inspecting further it looks to be due to the fact that this coponents module exports is not defined in the package.json. It needs to do so.
Expected Behavior
to work when
moduleResolution
TS config is set to "bundler".Reproduction
https://codepen.io/TheLarkInn/pen/vEYYWVa
Steps to reproduce
Set
moduleResolution: bundler
Try to import DocumentCardTitle.base
See typescript unable to find the export.
Are you reporting an Accessibility issue?
no
Suggested severity
Medium - Has workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
The text was updated successfully, but these errors were encountered: