Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#React

Advanced AI Prompt for Analyzing and Eliminating Vite Dead Code

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-vite-tree-shaking-analysis.txt
Act as a Technical SEO and Frontend Bundle Analyst. Deeply integrate `rollup-plugin-visualizer` into a complex Vite build pipeline to violently expose and diagnose JavaScript bundle bottlenecks. Force the configuration to execute a highly aggressive [TREESHAKE_STRATEGY] (e.g., forcing `moduleSideEffects: false` at the Rollup level). Provide a highly technical step-by-step methodology explaining exactly how an engineer must interpret the generated sunburst/treemap chart hosted on [VISUALIZER_PORT]. Furthermore, dictate exactly how to manipulate the `sideEffects` array within the `package.json` to explicitly instruct Vite's underlying Rollup engine to confidently prune 'dead code' from stubborn NPM packages that refuse to tree-shake naturally.

Example Text Output

"The AI will output a configuration that generates detailed bundle maps and provides a strategy for refining tree-shaking accuracy."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Analyzing and Eliminating Vite Dead Code" prompt used for?

The AI will output a configuration that generates detailed bundle maps and provides a strategy for refining tree-shaking accuracy.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.