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-core",
"packages/amis-ui",
"packages/amis",
"packages/ooxml-viewer"
"packages/amis"
],
"version": "2.9.0"
}

View File

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

View File

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