I have a web project
I have folders
src/app/shared/models
src/app/shared/services
src/app/shared/types
Each one of those is subfolder that have folders or files inside it, I want to exclude those folders, So i tried:
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"**/*.spec.ts",
"src/app/shared/**/*"
]
and its not working, even "src/app/shared/*"
not working, How I can do it?
My tsconfig.json now:
{
"compilerOptions": {
"outDir": "./dist/out-tsc",
"baseUrl": "src",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2015",
"dom"
]
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"**/*.spec.ts",
"src/app/shared/**/*"
]
}
Thanks