module.exports = {
	productionSourceMap: false,
/*	assetsDir: 's',
	configureWebpack: {
		externals: {
			vue: "Vue",
			vuex: "Vuex",
			"vue-router": "VueRouter",
			"element-ui": "ELEMENT"
		},
	},*/
	lintOnSave:false,
	devServer: {
		inline: true,
		disableHostCheck: true,
		port: 8087,
		hot: true,//自动保存
		proxy: {
			'/attendance': {
				target: 'http://192.168.0.98:11039',
				//   target: 'http://112.19.80.237:11039',
				//   target: 'http://localhost:17500',
				changeOrigin: true,
				secure: false,
				cookieDomainRewrite: 'localhost',
			},
			'/zwfw_api_xnjc': {
				 target: 'http://112.19.80.237:11031',
				changeOrigin: true,
				secure: false,
				cookieDomainRewrite: 'localhost',
			}
		}
	}
}
