ng build of angular-cli creates 3 files:
inline.bundle.js vendor.bundle.js main.bundle.js
and also a map file for each own. What for?
I
@Madhu's answers disables it for any ng build command. If you want to conditionally or temporarily disable it from your builds run:
ng build
Angular 8
ng build --watch --source-map=true/false
Angular 7
ng build --watch --sourcemaps=true/false
Angular 6
ng build --watch --no-sourcemap