1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Fix incorrect path for ts server example (#5612)

The customer-server-typescript example has a bug where the `yarn start` command has the incorrect path to the server entry point file.
This commit is contained in:
Davide Curletti 2018-11-07 05:33:33 -08:00 committed by Tim Neutkens
parent 420f74c867
commit 819efed2c0

View file

@ -2,7 +2,7 @@
"scripts": { "scripts": {
"dev": "nodemon server/index.ts", "dev": "nodemon server/index.ts",
"build": "next build && tsc --project tsconfig.server.json", "build": "next build && tsc --project tsconfig.server.json",
"start": "NODE_ENV=production node .next/production-server/index.js" "start": "NODE_ENV=production node .next/production-server/server/index.js"
}, },
"dependencies": { "dependencies": {
"@babel/core": "^7.1.2", "@babel/core": "^7.1.2",