Sourcemaps with mocha headless Chrome

Hello. I’m not seeing any useful info anywhere about this.

Here’s my command:

TEST_BROWSER_DRIVER=chrome 
TEST_CHROME_ARGS='start-maximized enable-automation --headless --no-sandbox --disable-dev-shm-usage --disable-browser-side-navigation --disable-gpu --ignore-certificate-errors' 
TEST_CLIENT=1 
meteor test 
--production 
--inspect 
--extra-packages xolvio:cleaner meteortesting:mocha@3.2.0 meteortesting:browser-tests@1.7.0 meteortesting:mocha-core@8.2.0 --driver-package meteortesting:mocha

Anyone know how to do this?

Thanks!

Meteor by default doesn’t create source maps for production builds. You can switch to the zodern:standard-minifier-js minifier, which does generate them.