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

Advanced AI Prompt for Vite Performance in Turborepo Monorepos

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-vite-monorepo-optimization.txt
Act as a Monorepo Infrastructure Specialist. Surgically optimize a Vite build and dev-server architecture residing deep within a large-scale Turborepo environment containing [WORKSPACE_PACKAGES] distinct apps. You must configure Vite's resolver to flawlessly symlink and watch the [INTERNAL_LIBS] via TypeScript `compilerOptions.paths` aliases, ensuring that a code change in a local shared UI package instantaneously triggers Vite's HMR in the consuming application. Engineer a highly aggressive `optimizeDeps` strategy that correctly pre-bundles local workspace dependencies, intentionally preventing Vite from choking and constantly reloading the browser during initial dev-server startup. Provide the Rollup configuration required to absolutely prevent the duplication of shared utility code across disparate application builds.

Example Text Output

"The AI will deliver a Vite config that utilizes workspace-aware resolution and symlink handling for seamless monorepo development."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Vite Performance in Turborepo Monorepos" prompt used for?

The AI will deliver a Vite config that utilizes workspace-aware resolution and symlink handling for seamless monorepo development.

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.