//只在h5端生效
module.exports = {
	chainWebpack: config => {
		config.optimization.splitChunks({
			cacheGroups: {
				vendors: {
					name: 'chunk-vendors',
					minChunks: 4,
					test: /node_modules/,
					priority: -10,
					chunks: 'initial'
				},
				common: {}
			}
		});
	}
};