emilkowalski / sonner

An opinionated toast component for React.
https://sonner.emilkowal.ski
MIT License
8.73k stars 278 forks source link

Metro Bundler failure #474

Open mvolonnino opened 3 months ago

mvolonnino commented 3 months ago

Describe the feature / bug 📝:

When installing sonner pkg into an Expo project (using Burnt for mobile which has a very outdated sonner so utilizing this pkg directly in Expo Web would be awesome)

Steps to reproduce the bug 🔁:

  1. Install latest sonner into an Expo SDK 51 project
  2. start expo & try running either platform (ios, android, web)
  3. Build fails on entry point for sonner
FNG-2002 commented 2 weeks ago

Hello, are there any updates on this?

mvolonnino commented 2 weeks ago

@FNG-2002 - I haven't heard anything back but instead of forking the repo I just wrote a small script that runs after I yarn to fix the package json which has worked for me!

Expo bundles native & web just fine