// see http://vuejs-templates.github.io/webpack for documentation.
'use strict'
const path = require('path')

module.exports = {
	dev: { // npm run dev 配置参数
		// Paths
		assetsSubDirectory: 'static',
		assetsPublicPath: '/',
		proxyTable: {},

		// Various Dev Server settings
		host: 'localhost',
		port: 8080,
	},
	build: {
		env: {
			NODE_ENV: '"production"'
		},
		productionSourceMap: false,
		productionGzip: false,

		// Template for index.html
		index: path.resolve(__dirname, '../dist/index.html'),

		// Paths
		assetsRoot: path.resolve(__dirname, '../dist'),
		assetsSubDirectory: 'static',
		assetsPublicPath: '/',
	},
}