All packages were carefully optimized to be as small as possible.
In order to provide exact numbers, each of them is shipped with bundlesize.index.js
file.
Contents of all those files are shown in this table in human-readable format.
Package | raw | min | minGz | minBrotli |
---|---|---|---|---|
@af-utils/styled | 718 B | 474 B | 309 B | 257 B |
@af-utils/react-virtual-headless | 13.9 kB | 5.49 kB | 2.48 kB | 2.26 kB |
@af-utils/react-virtual-list | 1.81 kB | 1.09 kB | 627 B | 538 B |
@af-utils/react-table | 6.63 kB | 3.34 kB | 1.48 kB | 1.34 kB |
@af-utils/react-mobx-table | 15.7 kB | 9.17 kB | 3.45 kB | 3.15 kB |
During bundle size measurement process.env.NODE_ENV
was set to production
to cut away some extra checks and verbose errors.
const TERSER_OPTS = {
compress: {
global_defs: {
"process.env.NODE_ENV": "production"
}
}
};