Skip to content

Blog

  • Tree shaking in practice: what actually ends up in your bundle

    Tree shaking tested in 2026: 22 imports from lodash, date-fns, MUI, antd, Element Plus and more, built with esbuild, Rollup, Vite 8 and webpack. Where one import costs 1 KB, where it costs 300 KB, and which lines of library code break tree shaking.

    #JavaScript #производительность #Vite