Home > @lynx-js/rspeedy > Performance > printFileSize
Performance.printFileSize property
Whether to print the file sizes after production build.
Signature:
Default Value
true
See Rsbuild - performance.printFileSize for details.
Example 1
If you don't want to print any information, you can disable it by setting printFileSize to false:
Example 2
Set total to false to disable total size output.
Example 3
Set detail to false to disable per-asset size output.
If you don't need to view the size of each static asset, you can set detail to false. In this case, only the total size will be output:
Example 4
If you don't need to view the gzipped size, you can set compressed to false. This can save some gzip computation time for large projects: