chore: 新增crypto-js依赖库

This commit is contained in:
TsMask committed 2024-08-15 10:10:50 +08:00
1 parent 409f9836a6
commit 1871f6f656
2 files changed
+10 -3

No files matched your search

+6 -1
View File
@@ -20,7 +20,7 @@ export default defineConfig(({ mode }) => {
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
[env.VITE_API_BASE_URL]: {
// target: 'http://192.168.2.166:3030',
// target: 'http://192.168.2.166:33030',
target: 'http://192.168.5.58:33040',
changeOrigin: true,
rewrite: p => p.replace(env.VITE_API_BASE_URL, ''),
@@ -74,6 +74,11 @@ export default defineConfig(({ mode }) => {
},
},
optimizeDeps: {
esbuildOptions: {
supported: {
'top-level-await': true,
},
},
include: ['@ant-design/icons-vue', 'ant-design-vue'],
},
plugins: [