File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export default createBuilder<any>(
28
28
const result = await build . result ;
29
29
30
30
if ( result . success ) {
31
- const mainFile = '*es2015.*.js' ;
31
+ const mainFile = builderConfig . diffLoading ? '*es2015.*.js' : ' *.js';
32
32
let explorerCommand = `npx source-map-explorer ${ builderConfig . outputPath } /${ mainFile } ` ;
33
33
if ( builderConfig . gzip ) {
34
34
explorerCommand = `${ explorerCommand } --gzip` ;
Original file line number Diff line number Diff line change 1
1
export interface Schema {
2
2
outputPath : string ;
3
3
gzip ?: boolean ;
4
+ diffLoading ?:boolean ;
4
5
}
Original file line number Diff line number Diff line change 7
7
},
8
8
"outputPath" : {
9
9
"type" : " string"
10
+ },
11
+ "diffLoading" : {
12
+ "type" :" boolean" ,
13
+ "default" : true
10
14
}
11
15
}
12
16
}
Original file line number Diff line number Diff line change 38
38
"typescript" : " 3.9.2"
39
39
},
40
40
"dependencies" : {
41
- "@angular-devkit/architect" : " ^0.901.0" ,
42
- "@angular-devkit/core" : " ^9.1.0" ,
43
- "inquirer" : " ^7.1.0" ,
41
+ "@angular-devkit/architect" : " 0.1000.1" ,
42
+ "@angular-devkit/core" : " 10.0.1" ,
44
43
"schematics-utilities" : " ^2.0.1"
45
44
}
46
45
}
You can’t perform that action at this time.
0 commit comments