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

Switch all ESM dist to .mjs #3634

Closed
wants to merge 1 commit into from
Closed

Commits on Jul 26, 2022

  1. Switch all ESM dist to .mjs

    Jest 28 supports `"exports"` field in `package.json`, and will
    interpret `./dist/preact.module.js` as CJS because it's using `.js`
    extension and the `package.json` doesn't contain `"type": "module"`.
    Switching to `.mjs` extension would fix the issue.
    aduh95 committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    1442d26 View commit details
    Browse the repository at this point in the history