update web assets

This commit is contained in:
fatedier
2018-05-16 03:34:43 +08:00
parent 0b0d5c982e
commit c7a457a045
7 changed files with 7 additions and 34 deletions

View File

@ -1,2 +0,0 @@
import Vue from 'vue'
import ElementUI from 'element-ui'

View File

@ -7,8 +7,7 @@ var publicPath = ''
module.exports = (options = {}) => ({
entry: {
vendor: './src/vendor',
index: './src/main.js'
vendor: './src/main'
},
output: {
path: path.resolve(__dirname, 'dist'),
@ -80,6 +79,8 @@ module.exports = (options = {}) => ({
}
}),
new webpack.optimize.UglifyJsPlugin({
sourceMap: false,
comments: false,
compress: {
warnings: false
}