apps/web/tsconfig.json (the tsc -b "solution" file) had no compilerOptions, only files/references. Cypress's bundled ts-node picks the nearest tsconfig.json to transpile cypress.config.ts, and with no "module" specified it defaulted to CommonJS while package.json declares "type": "module" — causing: ReferenceError: exports is not defined in ES module scope Adding module/moduleResolution to the solution config (harmless for tsc -b itself, since it only builds the referenced projects) fixes the mismatch. This regressed after the earlier fix for the stray vite.config.js emission and was never re-verified against Cypress until CI caught it. |
||
|---|---|---|
| .. | ||
| api | ||
| web | ||