From bc74401341666444d567914e579dd6faac637e8b Mon Sep 17 00:00:00 2001 From: mahula Date: Mon, 3 Mar 2025 13:39:38 +0100 Subject: [PATCH] exclude cypress from typescript compilation --- tsconfig.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index ff453fb4..bc9a7c2c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -25,11 +25,12 @@ "#utils/*": ["./src/Utils/*"], "#types/*": ["./src/types/*"], "#src/*": ["./src/*"], - "#root/*": ["./*"] + "#root/*": ["./*"], + "@badeball/cypress-cucumber-preprocessor/*": ["./node_modules/@badeball/cypress-cucumber-preprocessor/dist/subpath-entrypoints/*"] } }, "include": ["src", "vite.config.ts", "setupTest.ts", "cypress.config.ts", "cypress/support/commands.ts", "cypress/support/component.ts"], - "exclude": ["node_modules", "dist", "example", "rollup.config.mjss"], + "exclude": ["node_modules", "cypress", "dist", "example", "rollup.config.mjss"], "typeRoots": [ "./src/types", "./node_modules/@types/"