Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5b5ffb84
authored
May 12, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update vite.config.ts to add manual chunks for form-create and form-designer
parent
2b44f1d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
vite.config.ts
+3
-1
No files found.
vite.config.ts
View file @
5b5ffb84
...
...
@@ -76,7 +76,9 @@ export default ({command, mode}: ConfigEnv): UserConfig => {
rollupOptions
:
{
output
:
{
manualChunks
:
{
echarts
:
[
'echarts'
]
// 将 echarts 单独打包,参考 https://gitee.com/yudaocode/yudao-ui-admin-vue3/issues/IAB1SX 讨论
echarts
:
[
'echarts'
],
// 将 echarts 单独打包,参考 https://gitee.com/yudaocode/yudao-ui-admin-vue3/issues/IAB1SX 讨论
'form-create'
:
[
'@form-create/element-ui'
],
// 参考 https://github.com/yudaocode/yudao-ui-admin-vue3/issues/148 讨论
'form-designer'
:
[
'@form-create/designer'
],
}
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment