In Angualr CLI 6, the parameters seem to have changed
ng build --prod --source-map
Or you can enable source maps in angular.json by setting sourceMap: true in production configurations
"configurations": { "production": { "optimization": true, "outputHashing": "all", **"sourceMap": false,** --------
source share