From b542ee48a74c800b12ca8caa092e9bb7c442924f Mon Sep 17 00:00:00 2001 From: Amia <9750071+aamiaa@users.noreply.github.com> Date: Thu, 20 Jun 2024 00:30:43 +0200 Subject: [PATCH] fix patch find --- src/plugins/svgEmbed/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/svgEmbed/index.ts b/src/plugins/svgEmbed/index.ts index 9546bc500..9e07da6ea 100644 --- a/src/plugins/svgEmbed/index.ts +++ b/src/plugins/svgEmbed/index.ts @@ -116,7 +116,7 @@ export default definePlugin({ patches: [ { - find: "isImageFile:function()", + find: "png|jpe?g|webp|gif|", replacement: { match: /(?<=png\|jpe\?g\|webp\|gif\|)/, replace: "svg|"