build(internal): fix inline chunk error (#1256)

This commit is contained in:
gimmyhehe 2024-01-05 16:40:37 +08:00 committed by GitHub
parent e9f0ef5529
commit 82c570c2c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -76,7 +76,7 @@ export const getVuePlugins = (vueVersion: string) => {
return pluginMap[vueVersion]() || []
}
export const ns = (ver) => ({ '2': '2', '2.7': '2', '3': '3' }[ver] || '')
export const ns = (ver) => ({ '2': '2', '2.7': '2', '3': '3' })[ver] || ''
export interface BaseConfig {
vueVersion: string
@ -286,7 +286,8 @@ async function batchBuildAll({ vueVersion, tasks, formats, message, emptyOutDir,
},
output: {
strict: false,
manualChunks: {}
manualChunks: {},
experimentalMinChunkSize: 5 * 1024 * 1024
}
},
lib: {