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
MajorLift
changed the title
Add yarn constraints rules requiring that dual CJS/ESM builds be exposed for export subpaths in package manifests
Add yarn constraints rules requiring that dual CJS/ESM builds be exposed for all export subpaths in package manifests
Sep 13, 2024
MajorLift
changed the title
Add yarn constraints rules requiring that dual CJS/ESM builds be exposed for all export subpaths in package manifests
Add yarn constraints rules requiring that dual CJS/ESM builds and type declarations be exposed for all export subpaths in package manifests
Sep 13, 2024
What should we check here? In the case of . we can reasonably expect that the output JS files are located at dist/index.mjs and dist/index.cjs and that the output declaration files are at dist/index.d.mts and dist/index.d.cts. However, that may not be the case for subpath exports, which may be in different directories. For instance, @metamask/notification-services-controller has a subpath export at ./notification-services/ui, and this points to the relevant files in dist/NotificationServicesController/ui.
Descriptions
'exports["."]'
.References
tsup
withts-bridge
#4648tsup
withts-bridge
#4648 (comment)The text was updated successfully, but these errors were encountered: