981e0cd7 by 任超

style:打包设置

1 parent 192484ff
......@@ -38,7 +38,6 @@
"babel-plugin-dynamic-import-node": "2.3.3",
"chalk": "2.4.2",
"connect": "3.6.6",
"copy-webpack-plugin": "^6.0.0",
"element-ui": "^2.15.13",
"html-webpack-plugin": "3.2.0",
"runjs": "4.3.2",
......
......@@ -8,8 +8,6 @@ function resolve (dir) {
const name = defaultSettings.title
const port = process.env.port || process.env.npm_config_port || 8888 // dev port
const CopyWebpackPlugin = require('copy-webpack-plugin')
// All configuration item explanations can be find in https://cli.vuejs.org/config/
module.exports = {
/**
......@@ -70,7 +68,6 @@ module.exports = {
'@': resolve('src')
}
},
plugins: [new CopyWebpackPlugin({ patterns: [{ from: 'src/api/config.js', to: 'config.js'}] })],
devtool: '#eval-source-map' //测试
},
// chainWebpack通过链式编程的形式,来修改默认的webpack配置
......