Starting with Angular 7.2
, the vendorSourceMap
option is deprecated:
> ng serve --vendor-source-map
Option "vendorSourceMap" is deprecated.
Official documentation of ng serve says vendorSourceMap
is deprecated, but gives no alternative way of resolving library sources:
--vendorSourceMap=true|false
Deprecated
Resolve vendor packages sourcemaps.
Default: false
What is the correct, non-deprecated way, then to resolve vendor source maps in Angular 7.2?
--sourceMap
will be used in the future. Looks like they are moving away from the flag being a Boolean to allowing more options. Maybe try something like--sourceMap=vendor
(?) – Myxoma