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 a Web Performance Specialist. Configure a Vite build pipeline that automatically optimizes and compresses [IMAGE_FORMATS] assets. Use vite-plugin-imagemin or modern alternatives to ensure all assets meet a [QUALITY_THRESHOLD] while converting to WebP/Avif where applicable. Include the configuration for handling SVGs as React components and explain the impact on the final build's Largest Contentful Paint (LCP).

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.