From 1e5fd58a651bfebc8cc8f02e04a22232a806b9ac Mon Sep 17 00:00:00 2001 From: yuantao Date: Tue, 14 Oct 2025 18:00:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E4=B8=AD=E5=8F=AF=E4=BB=A5=E4=BD=BF=E7=94=A8@=E5=88=AB?= =?UTF-8?q?=E5=90=8D=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vite.config.js b/vite.config.js index efdb7be..2f732b7 100644 --- a/vite.config.js +++ b/vite.config.js @@ -42,6 +42,11 @@ function replaceManifestAppid() { export default defineConfig({ plugins: [replaceManifestAppid(), uni()], + resolve: { + alias: { + '@': '/src', + }, + }, build: { minify: 'terser', terserOptions: {