forked from opentiny/tiny-vue
build(internal): fix inline chunk error (#1256)
This commit is contained in:
parent
e9f0ef5529
commit
82c570c2c5
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue