// const serverHost = "http://20.75.14.110:38890";
// const serverHost = "http://172.20.19.72:8006";

module.exports = {
	productionSourceMap: false,
	publicPath: './',
	chainWebpack: config => {
		config.plugin("webpack-bundle-analyzer").use(require("webpack-bundle-analyzer").BundleAnalyzerPlugin)
	},

	devServer: {
		port: 9528,
		proxy: {
			'/api': {
				target: "http://220.166.58.28:172",
				changeOrigin: true,
			},
		}
	},
	configureWebpack: {
		performance: {
			hints: false,
		},
		optimization: {
			minimize: true,
			splitChunks: {
				chunks: "all"
			}
		}
	},
};
