www.reactrails.com NOT using a production build of React
serodriguez68 opened this issue · 1 comments
serodriguez68 commented
The production site is not using a production build (minified) version of react because the build:production
script in the client/package.json file does not containt the -p
flag for webpack. (I can tell because I'm using the react extension for Chrome).
To fix that, add the -p
flag to the build:production
script as shown next and re-deploy.
NODE_ENV=production webpack -p --config webpack.config.js
See this issue and this pull request for more information.
justin808 commented
Was fixed a long time ago.