DField SolutionsMérnöki stúdió · Budapest
Loading · Töltődik
Skip to content

Bundler tree-shaking (and when it lies)

Related service Websites, web apps & online shops

DEFINITION

A bundler (esbuild, Rollup, Webpack, Turbopack) statically drops unused exports. It works when modules are ESM, exports are unreferenced, and side-effect annotations are correct (`sideEffects: false` in package.json). It lies when you consume CJS, use dynamic `require` / `import`, or the library leans on `import './polyfill'` patterns. Most 'I expected this bundle to be smaller' moments are this · inspect with `webpack-bundle-analyzer` or `source-map-explorer`.

RELATED TERMS06
  • Answer Engine Optimization (AEO)

    We shape content so AI answer engines (ChatGPT, Perplexity, Google AI overviews) cite YOU: clear claims, structure, sources, schema. The successor discipline to classic SEO in 2026.

  • Zero-Click Search

    Searches resolved right on the results page (AI overview, snippet) with no click to any site. Rising fast: you win by being the cited source, not just by ranking.

  • Featured Snippet

    The boxed answer Google lifts to the top ("position zero"). Win it with a crisp, directly-phrased answer placed right under a question heading.

  • People Also Ask

    Google's expanding box of related questions. Each one is a content opportunity: answer them explicitly to capture the box and the long-tail traffic.

  • Crawl Budget

    How many pages a search engine will crawl on your site per visit. It matters for large sites: waste it on junk URLs and your important pages get crawled late.

  • Canonical URL

    The <link rel="canonical"> that tells search engines which URL is the master when duplicates or params exist. Prevents ranking signals from being diluted across near-identical pages.

MENTIONED IN THE BLOG07