Is there a way of creating a main.js.map file but not copying it over to the apk for release?
My use case is for error reporting. I can upload the main.js and main.js.map to sentry and it will generate a pretty stacktrace. However I don’t want to include it in the apk.
I know I can switch the sourcemap on and off but not how to do the above. Does anyone have any ideas?
@ionic/app-scripts : 1.3.8 Ionic Framework : ionic-angular 3.4.1