Closed mattijsbliek closed 10 years ago
Adding process.env.NODE_ENV = 'production'; to the deploy gulp task strips another 20KB out of React.
process.env.NODE_ENV = 'production';
Transforming with uglifyify would save even more probably, but I haven't managed to get it working.
Hi @mattijsbliek , this is now updated. Thanks for the tip! :-)
Adding
process.env.NODE_ENV = 'production';
to the deploy gulp task strips another 20KB out of React.Transforming with uglifyify would save even more probably, but I haven't managed to get it working.