Skip to content

Create Clean ESM Public Exports #33

@allenbakki

Description

@allenbakki

Create a single entry point (src/index.js) that exposes only the stable and intended APIs of the project. Internal modules or helpers should remain private.
Create src/index.js if it doesn’t exist. (already exists so make changes to it.)

The goal to achieve is
Only intended public APIs are exported.
Internal/private modules are not accessible from src/index.js.
Code using the public exports works without referencing deep paths.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions