Commit 6d05ccc8 authored by Zhi's avatar Zhi

Build: delete unremoved comments in umd module `lib/index.js`

fixed #14230
parent 8a27259d
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');
......@@ -26,6 +27,17 @@ module.exports = {
externals: {
vue: config.vue
},
optimization: {
minimizer: [
new TerserPlugin({
terserOptions: {
output: {
comments: false
}
},
})
]
},
performance: {
hints: false
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment