tsconfig.json | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
vite.config.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
tsconfig.json
@@ -2,6 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "extends": "@vben/ts-config/vue-app.json", "compilerOptions": { "target": "ES2020", "baseUrl": ".", "types": ["vite/client", "unplugin-vue-define-options/macros-global"], "paths": { vite.config.ts
@@ -4,6 +4,9 @@ export default defineApplicationConfig({ overrides: { optimizeDeps: { esbuildOptions: { target: 'esnext', }, include: [ 'echarts/core', 'echarts/charts', @@ -41,6 +44,7 @@ }), ], build: { target: 'esnext', rollupOptions: { output: { manualChunks: {