Created
January 3, 2022 00:28
-
-
Save sand97/ad66d3573a3a1ad5e3a1ec0473db50ee to your computer and use it in GitHub Desktop.
Package.json script for custom server of Next.js application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts": { | |
"dev": "node server.js", | |
"build": "next build", | |
"start": "NODE_ENV=production node server.js" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment