Package exports maps break Webpack, Expo and CRA builds
Package export maps and module formats break Webpack, Expo and CRA builds and dynamic locale imports.
Tier II · Emerging Problems that are still building up.
3 public reports · first reported 18 August 2022 · last reported 1 August 2025
What's going wrong
Developers installing the react-phone-number-input package and its libphonenumber-js dependency report that modern package export maps and module formats break their builds.
AI-assisted: written with the help of AI from the reports. The idea report has the full summary.
In the idea report
- The full summary.
- The products the 3 reports are about, and how many came each month.
- Related problems.
No business has been found with this problem yet, so the report has no contacts. All sales are final — no refunds. Pricing.