maas-ui
maas-ui copied to clipboard
Does the asset upload of the maas-ui need the map
The majority of the size of the asset which is uploaded via the static asset project is the js map. Do we need to include that in for production builds?
We don't have to include them, but they are very useful for debugging as they give us human-readable code even in production when you open Developer Tools.
They are also needed for Sentry logs to make sense. We could choose to upload source maps directly to sentry instead of hosting them publicly alongside the deployed code, but that would need to be setup.
https://docs.sentry.io/platforms/javascript/sourcemaps/
This is blocked by Sentry upgrade.