I am trying to turn off sourcemaps for my tests in Angular 6. I know the sourcemaps switch has been removed, e.g., ng test --sourcemaps=false.
ng test --sourcemaps=false
I have tri
Angular CLI v6.x reads --source-map as --sourceMap. So both --source-map and --sourceMap works for me for CLI v6.0.8
CLI v6.0.8
Go to package.json Change "test":"ng test" to "test":"ng test --source-map=false" to turn off sourcemaps.
"test":"ng test"
"test":"ng test --source-map=false"
Please note it shoud be --source-map and not --source-maps.
--source-map
--source-maps