af-utils / virtual

Bundle size impact

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.

@af-utils/styled684 B474 B309 B257 B
@af-utils/react-virtual-headless8.2 kB4.65 kB2.1 kB1.9 kB
@af-utils/react-virtual-list2.21 kB1.12 kB644 B557 B
@af-utils/react-table6.59 kB3.34 kB1.49 kB1.34 kB
@af-utils/react-mobx-table15.8 kB9.28 kB3.46 kB3.16 kB

Terser configuration

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"