I need regex to add to the tsconfig file. I'm trying to match only ts source files, but not test files.
Tried something like;
"include": [
"src/**/*",
"../../node_modules/@web/common/src/app/views/**/*.ts"
"../../node_modules/@web/common/src/app/views/**/*.(module|component).ts"
],
"exclude": [
"node_modules",
"**/*.spec.ts",
"../../**/*.spec.ts"
But no luck.
// should match
/main.ts
/hello-world.component.ts
// shouldn't match
/hello-world.component.spec.ts
/app.e2e-spec.ts