rsbuild-plugin-image-compress
rsbuild-plugin-image-compress copied to clipboard
An Rsbuild plugin to compress images
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/rspack-contrib/rsbuild-plugin-image-compress). ## Config Migration Needed - [ ]...
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [svgo](https://svgo.dev) ([source](https://redirect.github.com/svg/svgo)) | [`^3.3.2` -> `^4.0.0`](https://renovatebot.com/diffs/npm/svgo/3.3.2/4.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ###...
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [@biomejs/biome](https://biomejs.dev) ([source](https://redirect.github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome)) | [`^1.9.4` -> `^2.3.8`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/1.9.4/2.3.8) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ###...
i use the default plugin config like `plugins: [pluginImageCompress(['jpeg', 'png', 'ico', 'svg', 'avif'])]` when the svg size is big compress will be case error such as follow: 
1. 计算机硬件信息: 系统: windows10专业版 版本号: 22H2 操作系统内部版本: 19045.2728 处理器: Intel(R) Core(TM) Ultra 5 235U 2.00 GHz 系统类型: 64位操作系统,基于x64的处理器 2. 包管理工具 bun V1.2.22 3. "@rsbuild/core": "1.5.12", 4 "@rsbuild/plugin-image-compress": "^1.3.1" 5. 报错信息:...
If I comment out this configuration, I can package it
### Motivation and Context A build system supporting conversion would alleviate time consuming chores, and could be used to guarantee format consistency across all bundled images. ### Description This changes...
Some png file in my project using pngQuantize will throw `quantize failed QUALITY_TOO_LOW`, cause build failed. can we have a fallback option that when some compress failed we can use...