Last active
July 19, 2021 15:57
-
-
Save kidwen/169d3470cabcff37dec947e5ab136c79 to your computer and use it in GitHub Desktop.
ts config file in angular
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compileOnSave": false, | |
"compilerOptions": { | |
"baseUrl": "./", | |
"outDir": "./dist/out-tsc", | |
"sourceMap": true, | |
"declaration": false, | |
"downlevelIteration": true, | |
"experimentalDecorators": true, | |
"module": "esnext", | |
"moduleResolution": "node", | |
"noFallthroughCasesInSwitch": true, | |
"noImplicitReturns": true, | |
"noImplicitAny": true, | |
"noImplicitThis": true, | |
"strict": true, | |
"importHelpers": true, | |
"target": "es2015", | |
"typeRoots": [ | |
"node_modules/@types" | |
], | |
"lib": [ | |
"es2018", | |
"dom" | |
], | |
"paths": { | |
// use angular libary public-api file address,so when you run `ng s` and you update libary code,the browser will update the view to show you the latest result | |
"@kidwen/layout": [ | |
"projects/layout/src/public-api" | |
] | |
} | |
}, | |
"angularCompilerOptions": { | |
"strictTemplates": true, | |
"strictInjectionParameters": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment