I used ionic without cordova and I know ionic supports only two configurations, dev and prod. If we want build for prod we need to use --prod but I need also use uglify.js with unique name of script: main.js
but I always get main.js and main.css
I also enabled enableProdMode in main.ts file, for pure angular-cli applications it works - we don’t need do anything else.
I tried also write some custom functions and invoke in webpack.config file but it also does not work.
Has anyone had a similar problem?