I’m trying to configure my typescript compiler to include my bits. I’ve added the include
value to the tsconfig.json but I’m getting an error of No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["../node_modules/@bit/**/*!(*.spec.ts)"]' and 'exclude' paths were '["test.ts","**/*.spec.ts"]'.
How can I set things up so that my components are getting included in the compilation, but my tests will be ignored and not included in the build?
`{
"compileOnSave": false,
"include":["node_modules/@bit/**/*!(*.spec.ts)"],
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "es2015",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
]
}
}`