1 Star 0 Fork 615

刘欣 / xdh-map

forked from VTJ.PRO / xdh-map 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vue.config.js 694 Bytes
一键复制 编辑 原始数据 按行查看 历史
踩着两条虫 提交于 2019-04-03 19:04 . 1.1.7
const path = require('path')
function resolve(dir) {
return path.join(__dirname, dir)
}
module.exports = {
publicPath: '/xdh-map/',
pages: {
index: {
entry: 'examples/main.js',
template: 'public/index.html',
filename: 'index.html'
}
},
chainWebpack: config => {
},
configureWebpack: {
// 不显示文件过大优化建议
performance: {
hints: false
},
resolve: {
alias: {
'utils': resolve('utils'),
'packages': resolve('packages'),
'sources': resolve('sources'),
'@': resolve('src'),
'vue$': process.env.NODE_ENV === 'production' ? 'vue' : 'vue/dist/vue.esm.js'
}
}
}
}
JavaScript
1
https://gitee.com/lethe_1/xdh-map.git
git@gitee.com:lethe_1/xdh-map.git
lethe_1
xdh-map
xdh-map
master

搜索帮助