mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
Compress images u2fkey/yubikey using avif/webp (#1232)
Co-authored-by: Hinton <oscar@oscarhinton.com>
This commit is contained in:
@@ -36,7 +36,7 @@ const moduleRules = [
|
||||
type: "asset/resource",
|
||||
},
|
||||
{
|
||||
test: /\.(jpe?g|png|gif|svg)$/i,
|
||||
test: /\.(jpe?g|png|gif|svg|webp|avif)$/i,
|
||||
exclude: /.*(fontawesome-webfont)\.svg/,
|
||||
generator: {
|
||||
filename: "images/[name].[ext]",
|
||||
|
||||
Reference in New Issue
Block a user