Two Quick Ways To Reduce React App’s Size In Production

For those finding little or no reduction in size (or a slight increase!)…

You also need to check/change:

module.exports = {
 devtool: ‘inline-source-map’,


module.exports = {
 devtool: ‘source-map’,

As having ‘inline-source-map’ puts the in the bundle.js file (obvious if you think about it but easy to overlook!).

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.