Skip to content

[ENHANCEMENT] remove individual file requires as part of API contract #498

@lukekarrys

Description

@lukekarrys

It will always be possible to directly require a file, but as part of the next major version I would like to no longer consider that part of the public API. When setup properly, tooling exists to do much better tree-shaking than existed when the current directory structure was created.

  • Move all files to lib/
  • implement pkg json exports
  • Audit names and paths of exports
    • do we still want the functions/ prefix, etc
  • Try to remove cycles Require cycle warning #398

Metadata

Metadata

Assignees

No one assigned

    Labels

    semver:majorbackwards-incompatible breaking changes

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions