Skip to content

Commit

Permalink
Update start script in preact example (#11763)
Browse files Browse the repository at this point in the history
As far as I understand using preact in Next.js no longer requires a custom server. The current start command `"start": "NODE_ENV=production node server.js"` references a file that no longer exists.
  • Loading branch information
zackkrida authored Apr 9, 2020
1 parent 7e39079 commit 1d21897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/using-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"dev": "node server.js",
"build": "next build",
"start": "NODE_ENV=production node server.js"
"start": "next start"
},
"dependencies": {
"next": "^9.2.3-canary.21",
Expand Down

0 comments on commit 1d21897

Please sign in to comment.