未验证 提交 1d218979 编写于 作者: Z Zack Krida 提交者: GitHub

Update start script in preact example (#11763)

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.
上级 7e390794
......@@ -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",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册