File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,20 @@ Each file (key in the filesize object) must include an object with key/value pai
32
32
33
33
Optionally one can target a different project directory via the ` p ` parameter ` yarn filesize -p={PATH} ` .
34
34
35
+ ### Track Resource Size
36
+
37
+ This utility now also supports tracking filesizes without enforcing a max limit. To use this feature add a ` track ` key to the ` filesize ` entry.
38
+
39
+ ``` json
40
+ {
41
+ "filesize" : {
42
+ "track" : [" ./dist/**/*.mjs" ],
43
+ }
44
+ }
45
+ ```
46
+
47
+ These values will be added to the output report for all comression types.
48
+
35
49
## Security disclosures
36
50
37
51
The AMP Project accepts responsible security disclosures through the [ Google Application Security program] ( https://www.google.com/about/appsecurity/ ) .
You can’t perform that action at this time.
0 commit comments