I have a folder called "__ tests __".
I want it to be validated as typescript, but I don't want to build that folder. ( I don't want it to go to dist folder )
How would I do that?
It's like I have to include it, but not really...
My ts.config.json:
{
"compilerOptions": {
"module": "CommonJS",
"target": "ES2017",
"noImplicitAny": true,
"preserveConstEnums": true,
"outDir": "./dist",
"sourceMap": true,
"esModuleInterop": true,
"resolveJsonModule": true
},
"include": ["src/**/*", "src/**/*.json", "__tests__/**/*"],
"exclude": ["node_modules", "**/*.spec.ts"]
}