src/clean-webpack-plugin.ts
changed.
Showing 1 of 1 files from the diff.
@@ -257,7 +257,13 @@
Loading
257 | 257 | /** |
|
258 | 258 | * Fetch Webpack's output asset files |
|
259 | 259 | */ |
|
260 | - | const assets = stats.toJson().assets || []; |
|
260 | + | const assets = |
|
261 | + | stats.toJson( |
|
262 | + | { |
|
263 | + | assets: true, |
|
264 | + | }, |
|
265 | + | true, |
|
266 | + | ).assets || []; |
|
261 | 267 | const assetList = assets.map((asset: { name: string }) => { |
|
262 | 268 | return asset.name; |
|
263 | 269 | }); |
Files | Coverage |
---|---|
src/clean-webpack-plugin.ts | 98.86% |
Project Totals (1 files) | 98.86% |
2t8jl4ap4t6093on
2t8jl4ap4t6093on
hmrth706unapb07i
hmrth706unapb07i
hmrth706unapb07i
2t8jl4ap4t6093on
180.0
181.0
180.0
181.0
180.0
181.0
182.0
182.0
182.0
9o9el4ve75jqjc82
9o9el4ve75jqjc82
9o9el4ve75jqjc82
7oj2lhtak0of6708
7oj2lhtak0of6708
v8t2qy4t4qn8hie3
7oj2lhtak0of6708
p2hl7phr7xvhfyur
v8t2qy4t4qn8hie3
p2hl7phr7xvhfyur
p2hl7phr7xvhfyur
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.