Closed PindaPixel closed 9 months ago
Found the issue, Cypress seems to ignore references
from my tsconfig.json
:
{
"files": [],
"references": [
{
"path": "./tsconfig.node.json"
},
{
"path": "./tsconfig.app.json"
},
{
"path": "./tsconfig.vitest.json"
}
],
}
In the end, I had to add "module": "ESNext"
to the root tsconfig.json
When running cypress I get the following:
TypeError: (0 , cypress_vite_1.default) is not a function
tsconfig extends https://github.com/vuejs/tsconfig/blob/main/tsconfig.dom.json
I also have a tsconfig.node.json at the root of the project (extends):