The Manifest documentation mentions that "module" is deprecated in favor of "exports", but there is currently no section explaining "exports". This field is the recommended modern way for packages to declare their public entry points and subpaths.
Proposed fix:
- Add a section for
"exports" in the manifest documentation page.
- Include examples for single entry point, multiple conditions (
import/require), and subpath exports.
- Note precedence rules (
exports overrides main).
- Mention that paths must be relative (
"./").