Skip to main content
February 19, 20261.0.24v1.0.24RSS

v1.0.24 — [Performance] next.config.ts is Completely Empty — Missing Performance Configuration

Release Notes

The Next.js config exports a bare empty object with no optimizations configured: no bundle analyzer, no image domains/formats, no turbopack config, no compiler options, no experimental features like PPR or optimizePackageImports. This means Next.js defaults are used everywhere and no tree-shaking hints are given to the compiler.

Category: bundle File: next.config.ts Recommendation: Add: (1) experimental.optimizePackageImports for lucide-react (563 icons bundled = ~600KB raw, tree-shaking helps significantly), date-fns, and @dnd-kit/*. (2) @next/bundle-analyzer for CI bundle size tracking. (3) images.formats: ['image/avif', 'image/webp']. (4) compiler.removeConsole: { exclude: ['error'] } for production. Estimated Improvement: optimizePackageImports for lucide-react alone can reduce bundle size by 100–200 KB. Bundle analyzer enables ongoing size regression tracking.