DEV Community

Discussion on: How I Redesigned My Portfolio Site

Collapse
 
itsjzt profile image
Saurabh Sharma

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.

Collapse
 
bengreenberg profile image
Ben Greenberg

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.

Collapse
 
itsjzt profile image
Saurabh Sharma

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