CompressionWebpackPlugin 示例: module.exports = { plugins: [ new CompressionPlugin({ test: /\.js(\?.*)?$/i, })