Virtual bundle size impact

All packages were carefully optimized to be as small as possible.

PackagerawminminGzminBrotli
@af-utils/virtual-core19.1 kB4.55 kB2.02 kB1.82 kB
@af-utils/virtual-react7.79 kB2.9 kB1.29 kB1.15 kB

Minifier configuration

During bundle size measurement process.env.NODE_ENV was set to production to cut away some extra checks and verbose errors.

const MINIFIER_CONFIG = {
    compress: {
        global_defs: {
            "process.env.NODE_ENV": "production"
        }
    }
};