Data compression can be used to reduce file sizes and bandwidth usage for data sent over networks. A great start would be to look into how brotli (https://github.com/google/brotli) can be integrated into the Webpack build flow. Webpack does have a community plugin (https://webpack.js.org/plugins/compression-webpack-plugin/) that supports brotli compression. Note that brotli is supported by all major browsers.
Data compression can be used to reduce file sizes and bandwidth usage for data sent over networks. A great start would be to look into how brotli (https://github.com/google/brotli) can be integrated into the Webpack build flow. Webpack does have a community plugin (https://webpack.js.org/plugins/compression-webpack-plugin/) that supports brotli compression. Note that brotli is supported by all major browsers.