Commit 97390654 by 张杰

优化打包,去掉.map

1 parent 3ffb4af8
...@@ -6,6 +6,7 @@ function resolve(dir) { ...@@ -6,6 +6,7 @@ function resolve(dir) {
module.exports = { module.exports = {
runtimeCompiler: true, runtimeCompiler: true,
productionSourceMap: false,
devServer: { devServer: {
overlay: { overlay: {
warning: false, warning: false,
...@@ -32,7 +33,7 @@ module.exports = { ...@@ -32,7 +33,7 @@ module.exports = {
config config
.plugin('html') .plugin('html')
.tap(args => { .tap(args => {
args[0].title= '试乘试驾管理平台' args[0].title = '试乘试驾管理平台'
return args return args
}) })
config.entry('main').add('babel-polyfill') config.entry('main').add('babel-polyfill')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!