File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
packages/angular_devkit/build_angular/src/dev-server Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -208,6 +208,15 @@ ng serve [project]
208208 Output in-file eval sourcemaps.
209209 </p >
210210</details >
211+ <details >
212+ <summary >vendor-source-map</summary >
213+ <p >
214+ <code>--vendor-source-map</code>
215+ </p >
216+ <p >
217+ Resolve vendor packages sourcemaps.
218+ </p >
219+ </details >
211220<details >
212221 <summary >vendor-chunk</summary >
213222 <p >
@@ -261,4 +270,4 @@ ng serve [project]
261270 <p >
262271 Log progress to the console while building.
263272 </p >
264- </details >
273+ </details >
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ export interface DevServerBuilderOptions {
5151 optimization ?: boolean ;
5252 aot ?: boolean ;
5353 sourceMap ?: boolean ;
54+ vendorSourceMap ?: boolean ;
5455 evalSourceMap ?: boolean ;
5556 vendorChunk ?: boolean ;
5657 commonChunk ?: boolean ;
@@ -399,6 +400,8 @@ export class DevServerBuilder implements Builder<DevServerBuilderOptions> {
399400 ...( options . optimization !== undefined ? { optimization : options . optimization } : { } ) ,
400401 ...( options . aot !== undefined ? { aot : options . aot } : { } ) ,
401402 ...( options . sourceMap !== undefined ? { sourceMap : options . sourceMap } : { } ) ,
403+ ...( options . vendorSourceMap !== undefined ?
404+ { vendorSourceMap : options . vendorSourceMap } : { } ) ,
402405 ...( options . evalSourceMap !== undefined ? { evalSourceMap : options . evalSourceMap } : { } ) ,
403406 ...( options . vendorChunk !== undefined ? { vendorChunk : options . vendorChunk } : { } ) ,
404407 ...( options . commonChunk !== undefined ? { commonChunk : options . commonChunk } : { } ) ,
You can’t perform that action at this time.
0 commit comments