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

Advanced AI Prompt for Vite Image and Asset Compression

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-vite-asset-compression.txt
Act as an Elite Web Performance Specialist. Configure a bulletproof Vite build pipeline that forcefully automates the aggressive optimization and compression of all [IMAGE_FORMATS] (PNG, JPG, SVG) assets during the build step. Utilize `vite-plugin-imagemin` or state-of-the-art Rust-based alternatives (like `vite-plugin-image-optimizer`) to ensure all heavy raster assets meet a strict [QUALITY_THRESHOLD] constraint while automatically executing lossless conversions to next-gen WebP or AVIF formats. Dictate the precise plugin configuration required for handling SVGs natively as React components without bloating the JS bundle. Write a technical summary explicitly quantifying how this automated asset pipeline directly impacts and improves the application's Largest Contentful Paint (LCP) metric for Google SEO.

Example Text Output

"The AI will produce a configuration integrating imagemin with specific codec settings for high-efficiency asset delivery."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Vite Image and Asset Compression" prompt used for?

The AI will produce a configuration integrating imagemin with specific codec settings for high-efficiency asset delivery.

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.