mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-16 23:40:32 +00:00
Add a separate tsconfig for excluding tests/mocks from builds, while leaving them for type checks
This commit is contained in:
15
tsconfig.build.json
Normal file
15
tsconfig.build.json
Normal file
@@ -0,0 +1,15 @@
|
||||
// For builds, excludes tests and mocks
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2016",
|
||||
"module": "commonjs",
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"outDir": "dist",
|
||||
"sourceMap": true
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["**/__tests__/*/**", "**/__mocks__/*/**"]
|
||||
}
|
||||
Reference in New Issue
Block a user