Looking for recommendations on the best Webpack plugins for tree shaking and dead code elimination that will not corrupt our production builds.
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
Looking for recommendations on the best Webpack plugins for tree shaking and dead code elimination that will not corrupt our production builds.
3 real searches · 1 real-search pass
Webpack 5 tree shaking production optimization usedExports sideEffects official documentation TerserPlugin CssMinimizerPlugin 2026Google ↗
OBSERVEDConsequence
TerserWebpackPlugin documentation dead code elimination production WebpackGoogle ↗
OBSERVEDYes / no
PurgeCSS Webpack plugin documentation production CSS unused selectorsGoogle ↗
OBSERVEDInstruction
Badge and edge weight = share of passes that produced the query. Hover a query for its intent and routing format.
Query classes
Google's semantic query class for every sub-query: what kind of answer each search is after, simulated vs real.
ChatGPT real searches (3)
Classes come from the query-classifier (a local Laya model). 3 of 3 calls are low-confidence (under 50%) — hover a query in the table to see its confidence.
Searches and sources
ChatGPT3 real searches · gpt-6
Webpack 5 tree shaking production optimization usedExports sideEffects official documentation TerserPlugin CssMinimizerPlugin 2026 Google ↗
TerserWebpackPlugin documentation dead code elimination production Webpack Google ↗
PurgeCSS Webpack plugin documentation production CSS unused selectors Google ↗
- webpack · webpack.js.org
- Optimization · webpack.js.org
- Production · webpack.js.org
- webpack-doc-kit/pages/guides/optimization/tree-shaking.md at main · webpack/webpack-doc-kit · github.com
Queries
3 queries · click a column to sort
| Query / type | Search | Intent | Query class | Routing format | Cluster | Freq ↓ | Weight |
|---|---|---|---|---|---|---|---|
Webpack 5 tree shaking production optimization usedExports sideEffects official documentation TerserPlugin CssMinimizerPlugin 2026 OBSERVED | Google ↗ AI Mode ↗ | — | Consequence | — | — | 1x of 1 | |
TerserWebpackPlugin documentation dead code elimination production Webpack OBSERVED | Google ↗ AI Mode ↗ | — | Yes / no | — | — | 1x of 1 | |
PurgeCSS Webpack plugin documentation production CSS unused selectors OBSERVED | Google ↗ AI Mode ↗ | — | Instruction | — | — | 1x of 1 |