5 March 2025

This snippet shows how to generate source maps for a static web export in Expo. This is useful if you want to self-host your web build or integrate with tools like Sentry for error tracking. There are many different methods that you can find online, but this actually works and is actually really simple.

Source code viewer
  1. npx expo export --source-maps --platform web
Programming Language: Bash