Support for private source maps was added this week to Monti APM. Since this was custom built for Meteor apps, the set up is much simpler.
- Add/update the agent
- Replace the default js minifier with one that creates production source maps
- Make the source maps private
meteor add montiapm:agent meteor remove standard-minifier-js meteor add zodern:standard-minifier-js meteor add zodern:hide-production-sourcemaps
There are no versions to configure or scripts to write.
The source maps are uploaded as needed for new errors, and cached by Monti APM for up to two weeks. The feature is enabled by default in production when using a minifier that creates source maps.
More information is available in the docs.
Version 3 of
zodern:standard-minifier-js is also available. The main change is that now Meteor decides the file names. This removes any potential caching problems caused by always using