Skip to content

Commit

Permalink
Build: delete unremoved comments in umd module lib/index.js
Browse files Browse the repository at this point in the history
fixed #14230
  • Loading branch information
Zhi committed Jan 27, 2019
1 parent 8a27259 commit 6d05ccc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build/webpack.conf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const path = require('path');
const ProgressBarPlugin = require('progress-bar-webpack-plugin');
const VueLoaderPlugin = require('vue-loader/lib/plugin');
const TerserPlugin = require('terser-webpack-plugin');

const config = require('./config');

Expand All @@ -26,6 +27,17 @@ module.exports = {
externals: {
vue: config.vue
},
optimization: {
minimizer: [
new TerserPlugin({
terserOptions: {
output: {
comments: false
}
},
})
]
},
performance: {
hints: false
},
Expand Down

0 comments on commit 6d05ccc

Please sign in to comment.