re: How I Redesigned My Portfolio Site VIEW POST

FULL DISCUSSION
 

hey @benhayehudi , the site looks great but I think you didn't use production build and your site is still using development build, Will not it be a good idea to use production builds.

 

Hi! Thanks, I appreciate the comment. Do you mean minifying the React files? When it is deployed to Heroku, the environment is set as the following: NODE_ENV=production. I didn't minify the React files yet or reduce the verbosity of the error messaging, which is part of producing a "production build" of React since I'm still tinkering with it.

 

If you used create-react-app then use npm build to make a build and just deploy it to heroku.

code of conduct - report abuse