react-testing-library
react-testing-library copied to clipboard
fix: esm output's extension to .mjs
What: Why: More Information: https://github.com/kentcdodds/kcd-scripts/pull/244
How:
Change module field extension to .mjs
and upgrade kcd-scripts
after pr released.
screenshots
after this pr build output is below.
before change dist file and package.json
after change dist file and package.json
Checklist:
- [ ] Documentation added to the
- [ ] Tests
- [ ] TypeScript definitions updated
- [ ] Ready to be merged
Additional
I think according to https://github.com/kentcdodds/kcd-scripts/releases. We can skip breaking changes from 14, 15 versions. (v14 breaking change is about preact, v15 breaking change is about node v14)
Resolves: #1338 testing-library/user-event#1213