v2.8.1
This bugfix release makes an additional update to the package config to fix a regression that happened with Jest and jest-environment-jsdom
.
Caution
This release had a bundle size regression. Please update to v2.8.2 to resolve that issue.
Changes
More Package Updates
After releasing v2.8.0, we got reports that Jest tests were breaking. After investigation we concluded that jest-environment-jsdom
was looking at the new browser
package exports condition we'd added to better support JSPM, finding an ESM file containing the export
keyword, and erroring because it doesn't support ES modules correctly.
#4971 (comment) listed several viable workarounds, but this is enough of an issue we wanted to fix it directly. We've tweaked the package exports setup again, and it appears to resolve the issue with Jest.
What's Changed
- fix:
browser
exports
condition by @aryaemami59 in #4973
Full Changelog: v2.8.0...v2.8.1