mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
chore: 升级 vite (#6590)
This commit is contained in:
parent
6a5300258a
commit
d13faa6933
@ -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"
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user