Meteor 3 Sourcemapping

Hey Community,

Iโ€™m comparing Sentry and Monti at the moment for Client Logging and I want to add sourcemapping for better error logs. It seems that the standart-minifier package of meteor does not provide sourcemapping and the docs of monti suggesting zodern-standart-minifier which got no updates now for a while. Which minifier do you use to provide sourcemapping?

1 Like

zodern:standard-minifier-js is still maintained. There hasnโ€™t been much need to update it.

4 Likes

Thanks for your response. Iโ€™m testing the zodern-standart-minifier together now with hide-production-sourcemaps. So far my builds fail with:

/build/.meteor/packages/zodern_standard-minifier-js/.5.3.1.nka808eq0i++os+web.browser+web.browser.legacy+web.cordova/plugin.fastMinifier.os/npm/node_modules/meteor/fastMinifier/node_modules/meteor-package-install-swc/.swc/node_modules/@swc/core/index.js:110:29: 
#16 202.8 x 'import.meta' cannot be used outside of module code.

Am I missing some config which is now needed?

A team member had also some attempts on this few months ago