Closed DFurnes closed 9 years ago
Make sure NODE_ENV is set to production when building for production, which allows Uglify to do dead-code elimination on some of React's development helpers. This cuts pre-gzip bundle size by about 32kb.
NODE_ENV
production
For review: @DoSomething/front-end
:+1:
Changes
Make sure
NODE_ENV
is set toproduction
when building for production, which allows Uglify to do dead-code elimination on some of React's development helpers. This cuts pre-gzip bundle size by about 32kb.For review: @DoSomething/front-end