Add a configuration to replace existing generated image

Created on 21 May 2025, about 2 months ago

Problem/Motivation

The module currently retains both the original image style derivative (e.g., .jpg, .png) and the WebP version (e.g., .webp) in the same image style directory.

Steps to reproduce

-

Proposed resolution

It would be beneficial to provide a configuration option within the pipeline settings to allow site builders to choose the desired behavior — either to keep both files (default) or to replace the original image style file with the WebP version.

This would offer greater flexibility, especially for projects targeting only modern browsers that fully support WebP.

Remaining tasks

-

User interface changes

-

API changes

-

Data model changes

-

💬 Support request
Status

Active

Version

2.0

Component

Code

Created by

🇲🇦Morocco b.khouy 🇲🇦 Morocco

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024