Commit 2e641e9e authored by Alexander Kachkaev's avatar Alexander Kachkaev Committed by Tim Neutkens

Use separate tsconfig for server in custom-server-typescript example (#3963)

parent 5bb9fa67
{
"scripts": {
"dev": "nodemon server/index.ts",
"build": "next build && tsc --module commonjs",
"build": "next build && tsc --project tsconfig.server.json",
"start": "NODE_ENV=production node production-server/index.js"
},
"dependencies": {
......
......@@ -21,10 +21,6 @@
"dom",
"es2015",
"es2016"
],
"outDir": "production-server/"
},
"include": [
"server/**/*.ts"
]
]
}
}
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"outDir": "production-server/"
},
"include": ["server/**/*.ts"]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment