maas-ui icon indicating copy to clipboard operation
maas-ui copied to clipboard

Does the asset upload of the maas-ui need the map

Open anthonydillon opened this issue 3 years ago • 2 comments

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?

anthonydillon avatar Jul 15 '22 23:07 anthonydillon

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/

petermakowski avatar Jul 18 '22 09:07 petermakowski

This is blocked by Sentry upgrade.

amylily1011 avatar Oct 10 '22 09:10 amylily1011