File tree 2 files changed +13
-1
lines changed
packages/angular_devkit/build_angular/src/dev-server
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -208,6 +208,15 @@ ng serve [project]
208
208
Output in-file eval sourcemaps.
209
209
</p >
210
210
</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 >
211
220
<details >
212
221
<summary >vendor-chunk</summary >
213
222
<p >
@@ -261,4 +270,4 @@ ng serve [project]
261
270
<p >
262
271
Log progress to the console while building.
263
272
</p >
264
- </details >
273
+ </details >
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ export interface DevServerBuilderOptions {
51
51
optimization ?: boolean ;
52
52
aot ?: boolean ;
53
53
sourceMap ?: boolean ;
54
+ vendorSourceMap ?: boolean ;
54
55
evalSourceMap ?: boolean ;
55
56
vendorChunk ?: boolean ;
56
57
commonChunk ?: boolean ;
@@ -399,6 +400,8 @@ export class DevServerBuilder implements Builder<DevServerBuilderOptions> {
399
400
...( options . optimization !== undefined ? { optimization : options . optimization } : { } ) ,
400
401
...( options . aot !== undefined ? { aot : options . aot } : { } ) ,
401
402
...( options . sourceMap !== undefined ? { sourceMap : options . sourceMap } : { } ) ,
403
+ ...( options . vendorSourceMap !== undefined ?
404
+ { vendorSourceMap : options . vendorSourceMap } : { } ) ,
402
405
...( options . evalSourceMap !== undefined ? { evalSourceMap : options . evalSourceMap } : { } ) ,
403
406
...( options . vendorChunk !== undefined ? { vendorChunk : options . vendorChunk } : { } ) ,
404
407
...( options . commonChunk !== undefined ? { commonChunk : options . commonChunk } : { } ) ,
You can’t perform that action at this time.
0 commit comments