chore(config): comment out minifyInternalExports and manualChunks options
This commit is contained in:
@ -56,7 +56,7 @@ export default defineConfig(({ command, mode }) => {
|
||||
// https://cn.rollupjs.org/configuration-options/#output-assetfilenames
|
||||
// output: env.VITE_SPLIT_CHUNKS === 'true' ? (await import('utils4u/rollup')).createSplitChunkOutput() : undefined,
|
||||
output: {
|
||||
minifyInternalExports: false,
|
||||
// minifyInternalExports: false,
|
||||
// manualChunks: {
|
||||
// 'vendor/utils4u': ['utils4u', 'utils4u/vue-use', 'utils4u/primevue'],
|
||||
// 'vendor/vue': ['vue'],
|
||||
@ -70,6 +70,14 @@ export default defineConfig(({ command, mode }) => {
|
||||
manualChunks: {
|
||||
'vendor/Cesium': ['cesium'],
|
||||
},
|
||||
// advancedChunks: {
|
||||
// groups: [
|
||||
// {
|
||||
// name: 'vendor/cesium',
|
||||
// test: 'cesium',
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
},
|
||||
},
|
||||
sourcemap: mode !== 'production' || env.VITE_SOURCE_MAP === 'true',
|
||||
|
Reference in New Issue
Block a user