From a13e807e2dbfa5fe8440ffb948ee811f6c4031fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com> Date: Sat, 8 May 2021 17:45:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=9B=B8=E5=AF=B9=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index 8d1820b..0122d50 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -24,6 +24,7 @@ export default defineConfig({ emptyOutDir: true, minify: false, commonjsOptions: {}, + assetsDir: '', // 相对路径加载问题 rollupOptions: { external: [ ...builtins(),