Debugger for vite-plugin-entry-shaking, a Vite plugin that improves tree shaking for re-exported entry points. Version 2.0.2 requires vite >=5.1.0 and vite-plugin-entry-shaking >=0.5.2 (peer dependency). Release cadence follows the main plugin with patch releases. Key differentiator: provides detailed logging and analysis of entry shaking transformations, helping developers identify why certain exports aren't being tree-shaken. Ships TypeScript types. ESM-only.
npm install vite-plugin-entry-shaking-debuggerVerified import paths — ran on the pinned version, not inferred.
Configures Vite with entry shaking plugin and debugger, enabling verbose logging to analyze tree shaking behavior.
Add 'import "vite-plugin-entry-shaking-debugger"' to your vite config file.
Upgrade to vite-plugin-entry-shaking-debugger@2 and ensure vite-plugin-entry-shaking@0.5+.
Update peer dependencies: vite >=5.1.0, vite-plugin-entry-shaking >=0.5.0.
Use VITE_NODE_ENV=development or run 'vite' (not 'vite build') to see debug output.
Run 'npm install -D vite-plugin-entry-shaking-debugger' or check package.json dependencies.
Ensure you have imported 'vite-plugin-entry-shaking-debugger' and that you are using vite-plugin-entry-shaking@0.5+.