tbleckert / react-select-search

⚡️ Lightweight select component for React
https://react-select-search.com
MIT License
675 stars 149 forks source link

Fixed reference to CJS module in package.json #202

Closed AmyAmy closed 2 years ago

AmyAmy commented 3 years ago

Fixes #172

The "main" file in package.json pointed to the ESM instead of the CJS module. Which caused node, in situations where ESMs are not supported, to try to load the ESM as a CJS, causing build fails.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tbleckert/react-select-search/Cj1XXRuaJ9HoK55SvQi51eJfLTZQ
✅ Preview: https://react-select-search-git-fork-amyamy-main-tbleckert.vercel.app

tbleckert commented 2 years ago

Perfect, thanks @AmyAmy !