From d3f7563e24cafc54496458fb5041c4c1d74b5327 Mon Sep 17 00:00:00 2001 From: G Date: Wed, 27 Dec 2023 19:05:28 +0800 Subject: [PATCH] feat: :sparkles: te ttet --- .gitignore | 3 ++- apps/admin/vite.config.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 671b4fac..43e92717 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ dist-ssr server/dist public/dist es -lib \ No newline at end of file +lib +gbeata-dist \ No newline at end of file diff --git a/apps/admin/vite.config.ts b/apps/admin/vite.config.ts index d3fb05f4..8cfbfe93 100644 --- a/apps/admin/vite.config.ts +++ b/apps/admin/vite.config.ts @@ -55,7 +55,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { setupProdMockServer() `, // 当前文件夹下的src/main.ts - injectFile: './src/main.tsx', + injectFile: path.join(__dirname, '/src/main.tsx'), }), ],