Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newbie Questions #2

Open
andymagill opened this issue Mar 2, 2020 · 0 comments
Open

Newbie Questions #2

andymagill opened this issue Mar 2, 2020 · 0 comments

Comments

@andymagill
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant