From be4e2d7c2b330c3b8991a0286ea16cc1285b9ec0 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 08 May 2026 17:47:32 +0800
Subject: [PATCH] feat: 微信小程序支持上传头像
---
build/plugins/replaceUrl.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/build/plugins/replaceUrl.js b/build/plugins/replaceUrl.js
index a700468..e8ae2d7 100644
--- a/build/plugins/replaceUrl.js
+++ b/build/plugins/replaceUrl.js
@@ -2,12 +2,12 @@
* @name ReplaceImageUrl
* @description 替换图片地址
*/
-import replaceImageUrl from 'vite-plugin-replace-image-url';
+import replaceImageUrl from 'vite-plugin-replace-image-url'
export const ReplaceUrlPlugin = () => {
return replaceImageUrl({
publicPath: 'https://photo.example.com/miniprogram',
sourceDir: 'src/static',
verbose: true,
- });
-};
+ })
+}
--
Gitblit v1.9.3