Skip to content

ArVan/react-app-rewire-compression-plugin

Repository files navigation

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
})

About

Add compression-webpack-plugin to a react-app-rewired config.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published