Virtual bundle size impact

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

PackagerawminminGzminBrotli
@af-utils/virtual-core18.4 kB4.59 kB2 kB1.81 kB
@af-utils/virtual-react7.81 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"
        }
    }
};