Answers for "how to overwsrote ts config"

0

how to overwsrote ts config

tsc --project main/tsconfig.json

{
	"extends": "./main/tsconfig.json",
	"compilerOptions": {
		"outDir": "dist",
		"target": "ESNext",
		"module": "CommonJS",
		"moduleResolution": "Node",
		"esModuleInterop": true,
		"allowSyntheticDefaultImports": true,
		"emitDecoratorMetadata": true,
		"experimentalDecorators": true,
		"allowUmdGlobalAccess": true,
		"downlevelIteration": true,
		"declaration": true,
		"noEmitOnError": true,
		"strict": true,
		"noImplicitAny": false,
		"noImplicitThis": false,
		"typeRoots": ["node_modules/@types", "src/server/types"]
	},
	"include": ["src/**/*.ts", "configs/config.ts"],
	"exclude": [
		"node_modules",
		"dist",
		"esm",
		"__test__/**/*.{test.ts,spec.ts}",
		"coverage",
		".github",
		"configs/config.ts"
	]
}
Posted by: Guest on July-24-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language