Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
2e641e9e
Commit
2e641e9e
authored
Mar 07, 2018
by
Alexander Kachkaev
Committed by
Tim Neutkens
Mar 07, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use separate tsconfig for server in custom-server-typescript example (#3963)
parent
5bb9fa67
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
package.json
examples/custom-server-typescript/package.json
+1
-1
tsconfig.json
examples/custom-server-typescript/tsconfig.json
+2
-6
tsconfig.server.json
examples/custom-server-typescript/tsconfig.server.json
+8
-0
No files found.
examples/custom-server-typescript/package.json
View file @
2e641e9e
{
"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"
:
{
...
...
examples/custom-server-typescript/tsconfig.json
View file @
2e641e9e
...
...
@@ -21,10 +21,6 @@
"dom"
,
"es2015"
,
"es2016"
],
"outDir"
:
"production-server/"
},
"include"
:
[
"server/**/*.ts"
]
]
}
}
examples/custom-server-typescript/tsconfig.server.json
0 → 100644
View file @
2e641e9e
{
"extends"
:
"./tsconfig.json"
,
"compilerOptions"
:
{
"module"
:
"commonjs"
,
"outDir"
:
"production-server/"
},
"include"
:
[
"server/**/*.ts"
]
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment