The fourth section of this article introduces compression-webpack-plugin, which seems to perform very well (the code changes from 3.9m to 115k after gzip is turned on, and the request time changes from 10s to 100ms), but it seems that few projects use it.
Use nginx directly as a reverse proxy. Configuring Gzip in nginx is more flexible
Can this plug-in only be used on the server side of node? Is it not suitable for static packaging webpack?