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

Advanced AI Prompt for Vite Performance in React Electron Apps

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-vite-electron-react-performance.txt
Act as a Principal Desktop Application Developer. Engineer a highly complex, multi-process Vite configuration tailored specifically for building a React application inside Electron [ELECTRON_VERSION]. You must drastically optimize the Rollup build process to independently compile both the Node-based Main process and the browser-based Renderer process. Force the build system to strictly handle complex C++ [NATIVE_MODULES] (e.g., `sqlite3` or `serialport`) as `external` dependencies to prevent catastrophic bundling failures. Deliver a unified `vite.config.ts` architecture leveraging `vite-plugin-electron` that guarantees instantaneous HMR in the Renderer, automatic restarts of the Main process upon file changes, and radically minimizes the final `.exe` or `.dmg` installer payload size.

Example Text Output

"The AI will output a specialized Vite configuration tailored for Electron's unique module resolution and security requirements."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Vite Performance in React Electron Apps" prompt used for?

The AI will output a specialized Vite configuration tailored for Electron's unique module resolution and security requirements.

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.