Open source · npm
rollup-plugin-why
Explains why a module ended up in your Rollup or Vite bundle — the shortest import chain to any package, plus the code tree-shaking kept only for its side effects. Built on Rollup’s own module graph, so the answers reflect what the bundler actually decided.
View on npm