Awesome
react-app-rewire-compression-plugin
Add webpack CompressionPlugin
to a react-app-rewired
config.
const rewireCompressionPlugin = require('react-app-rewire-compression-plugin');
// Compress generated js files
config = rewireCompressionPlugin(config, env, {
test: /\.js(\?.*)?$/i,
cache: true
})