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

Ensure NODE_ENV is production when deploying on Now #1106

Merged
merged 3 commits into from
Feb 13, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Ensure NODE_ENV is production when deploying on Now
  • Loading branch information
sedubois committed Feb 13, 2017
commit 6560a11a1ac02f82d427ca0e53862304eae605f4
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 587,8 @@ For example, to deploy with [`now`](https://zeit.co/now) a `package.json` like f
},
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
"build": "NODE_ENV=production next build",
"start": "NODE_ENV=production next start"
}
}
```
Expand Down