You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just followed along on your LevelUp article. I'm new to react and I'm hoping you can answer some questions.
How do you run the production build of the project? Is this sufficient :
webpack-dev-server --mode production --hot
Also, running the build script on my windows machine, returns an error "NODE_ENV is not recognized..." The workaround I found was this : set NODE_ENV='production' && webpack --mode=production . Doesn't this mean that NODE_ENV will always be "production" ?
Also just FYI, 'optimization' is missing from the walkthrough portion of the article.
The text was updated successfully, but these errors were encountered:
Hi Samie,
I just followed along on your LevelUp article. I'm new to react and I'm hoping you can answer some questions.
How do you run the production build of the project? Is this sufficient :
webpack-dev-server --mode production --hot
Also, running the build script on my windows machine, returns an error "NODE_ENV is not recognized..." The workaround I found was this :
set NODE_ENV='production' && webpack --mode=production
. Doesn't this mean that NODE_ENV will always be "production" ?Also just FYI, 'optimization' is missing from the walkthrough portion of the article.
The text was updated successfully, but these errors were encountered: