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

Advanced AI Prompt for Manual Chunking Strategy in Vite

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-vite-manual-chunking.txt
Act as a Senior Performance Engineer. Design a Vite manual chunking strategy for a React application using the output.manualChunks configuration. The goal is to isolate heavy vendor libraries like [VENDOR_LIBS] into dedicated bundles while ensuring no single chunk exceeds [MAX_CHUNK_SIZE]. Provide the vite.config.ts code snippet and explain how this strategy prevents cache invalidation of stable vendor code when application logic changes.

Example Text Output

"The AI will generate a sophisticated Rollup output configuration using a functional approach to manualChunks, effectively splitting specified libraries into persistent cacheable files."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Manual Chunking Strategy in Vite" prompt used for?

The AI will generate a sophisticated Rollup output configuration using a functional approach to manualChunks, effectively splitting specified libraries into persistent cacheable files.

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.