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": { "scripts": {
"dev": "nodemon server/index.ts", "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" "start": "NODE_ENV=production node production-server/index.js"
}, },
"dependencies": { "dependencies": {
......
...@@ -21,10 +21,6 @@ ...@@ -21,10 +21,6 @@
"dom", "dom",
"es2015", "es2015",
"es2016" "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