chore: 编译优化:2M限制

This commit is contained in:
hackrobot
2024-03-22 17:45:53 +08:00
parent 1a08981f1b
commit b419c0f504

View File

@@ -58,7 +58,11 @@ export default defineConfig(async (merge, { command, mode }) => {
generateScopedName: '[name]__[local]___[hash:base64:5]'
}
}
}
},
// 优化分包
optimizeMainPackage: {
enable: true,
},
},
h5: {
publicPath: '/',