:global-exports for foreign libraries

Description

To make foreign libraries more idiomatic to use and in order to ease future migration to direct node_modules usage users need a way to define what global exports a foreign lib provides. Regular foreign libraries export global names and the requires are synthetic. We can fix this issue by allowing foreign libraries to describe what they globally export.

Environment

None

Assignee

David Nolen

Reporter

David Nolen

Approval

Accepted

Patch

None

Fix versions

Affects versions

Priority

Blocker
Configure