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

Advanced AI Prompt for Efficient Vite Polyfills and Legacy Browser Support

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-vite-polyfill-legacy-strategy.txt
Act as a Senior Web Compatibility Architect. Configure the `@vitejs/plugin-legacy` plugin for a modern React application that is absolutely mandated by client requirements to support ancient [TARGET_BROWSERS] (e.g., iOS Safari 11 or Chrome 60), while strictly simultaneously serving un-transpiled, lightning-fast native ES modules to capable modern browsers. Define the exact Babel preset strategy required to polyfill the specific [MODERN_ONLY_FEATURES] (e.g., Promise.allSettled, structuredClone) utilizing `core-js`. Detail the mathematical impact this configuration will have on CI build times, and architect the HTML injection logic to guarantee that legacy polyfill chunks are *never* downloaded or parsed by the main thread on modern devices, preserving Core Web Vitals.

Example Text Output

"The AI will provide a plugin-legacy configuration that balances broad compatibility with modern performance standards."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Efficient Vite Polyfills and Legacy Browser Support" prompt used for?

The AI will provide a plugin-legacy configuration that balances broad compatibility with modern performance standards.

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.