config.js
538 Bytes
var path = require('path');
module.exports = {
build: {
env: {
NODE_ENV: '"production"'
},
assetsRoot: path.join(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: '/',
productionSourceMap: true,
},
dev: {
env: {
NODE_ENV: '"dev"'
},
port: 6010,
autoOpenBrowser: true,
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {},
cssSourceMap: false,
}
};