chore: 升级 vite (#6590)

This commit is contained in:
liaoxuezhi 2023-04-12 18:41:24 +08:00 committed by GitHub
parent 6a5300258a
commit d13faa6933
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

View File

@ -3,8 +3,7 @@
"packages/amis-formula", "packages/amis-formula",
"packages/amis-core", "packages/amis-core",
"packages/amis-ui", "packages/amis-ui",
"packages/amis", "packages/amis"
"packages/ooxml-viewer"
], ],
"version": "2.9.0" "version": "2.9.0"
} }

View File

@ -6,8 +6,7 @@
"packages/amis-ui", "packages/amis-ui",
"packages/amis", "packages/amis",
"packages/amis-editor-core", "packages/amis-editor-core",
"packages/amis-editor", "packages/amis-editor"
"packages/ooxml-viewer"
], ],
"scripts": { "scripts": {
"fis3-serve": "fis3 server start --www ./public --port 8888 --no-daemon --no-browse", "fis3-serve": "fis3 server start --www ./public --port 8888 --no-daemon --no-browse",
@ -75,7 +74,7 @@
"rollup-pluginutils": "^2.8.2", "rollup-pluginutils": "^2.8.2",
"setprototypeof": "^1.2.0", "setprototypeof": "^1.2.0",
"ts-jest": "^29.0.2", "ts-jest": "^29.0.2",
"vite": "^3.2.2", "vite": "^4.2.1",
"vite-plugin-monaco-editor": "^1.1.0", "vite-plugin-monaco-editor": "^1.1.0",
"vite-plugin-svgr": "^2.2.2", "vite-plugin-svgr": "^2.2.2",
"zrender": "^5.3.2" "zrender": "^5.3.2"
@ -118,4 +117,4 @@
"printBasicPrototype": false "printBasicPrototype": false
} }
} }
} }

View File

@ -38,6 +38,7 @@ export default defineConfig({
], ],
optimizeDeps: { optimizeDeps: {
include: ['amis-formula/lib/doc'], include: ['amis-formula/lib/doc'],
exclude: ['amis-core', 'amis-formula', 'amis', 'amis-ui'],
esbuildOptions: { esbuildOptions: {
target: 'esnext' target: 'esnext'
} }