Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize configuration for ESM exports (entry points for cjs / esm / typescript) #212

Merged
merged 2 commits into from Jan 30, 2023
Merged

Optimize configuration for ESM exports (entry points for cjs / esm / typescript) #212

merged 2 commits into from Jan 30, 2023

Commits on Dec 1, 2022

  1. Optimize configuration for ESM exports (entry points for cjs / esm an…

    …d also typings)
    
    BREAKING CHANGE: Imports from esm subpaths must be replaced by the non-esm path (e.g. date-fns-tz/esm/format -> date-fns-tz/format) since the runtime will pick the correct entry point depending on type property (commonjs vs. esm).
    Michael Wittwer committed Dec 1, 2022
    Copy the full SHA
    455640f View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    bdb8195 View commit details
    Browse the repository at this point in the history