const CompressionWebpackPlugin = require('compression-webpack-plugin');
// vue-cli3 vue.config.js 配置
configureWebpack: config => {
config.plugins.push(new CompressionWebpackPlugin()
)
}
const CompressionWebpackPlugin = require('compression-webpack-plugin');
// vue-cli3 vue.config.js 配置
configureWebpack: config => {
config.plugins.push(new CompressionWebpackPlugin()
)
}