https://cypress.io logo
Separate tsconfig for cypress configuration
# i-need-help
b
I have a monorepo setup with multiple react applications. I have cypress.config.ts at the root of the monorepo, and each project has its own
tsconfig.json
(which extends from
./packages/tsconfig
- but that's besides the point). I want to have a
tsconfig.cypress.json
or a way to keep cypress' tsconfig separate. I am inclined to think that this can be configured in the
setupNodeEvents
option of
cypress.config.ts
- however, I can't find clarity on what I should do. That being said, the RWA example has a
tsconfig
in the cypress folder. I tried that and it didn't work - is there something I have to do to point cypress to a specific tsconfig in a specific location? I'd appreciate some pointers in the right direction.