Use compression-webpack-plugin to report Cannot read property'tapPromise' of undefined error when optimizing the packaging volume
Solution: Reduce the package version
compression-webpack-plugin: 5.1.0
https://github.com/webpack-contrib/compression-webpack-plugin/releases/tag/v7.0.0