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

Revert to .js extension for ES module builds targeting webpack/CRA #232

Merged
merged 1 commit into from
Oct 21, 2021

Conversation

smithki
Copy link
Contributor

@smithki smithki commented Oct 21, 2021

📦 Pull Request

By addressing #229 via #230, we accidentally broke older versions of Webpack compatibility and specifically create-react-app, which does not support .mjs by default. To fix this, we revert to .js for the index file specified by package.json#module.

@smithki smithki added the patch Increment the patch version when merged label Oct 21, 2021
@smithki smithki self-assigned this Oct 21, 2021
@smithki smithki changed the title Rever to .js for ES module builds targeting webpack/CRA Revert to .js extension for ES module builds targeting webpack/CRA Oct 21, 2021
@smithki smithki merged commit d4ded97 into master Oct 21, 2021
@smithki smithki deleted the fix/cra-and-webpack-break-when-using-mjs branch October 21, 2021 20:27
@smithki smithki added the released This issue/pull request has been released. label Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant