diff --git a/tsconfig.build.json b/tsconfig.build.json index 93cfa065..07b0e8a2 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -2,9 +2,9 @@ "extends": "./tsconfig.json", "exclude": [ "**/__tests__", - "stories", + "playwright", "playwright-ct.config.ts", - "tests", - "playwright" + "stories", + "tests" ] } diff --git a/tsconfig.json b/tsconfig.json index 2d60d6c3..d486fd4d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,11 +18,10 @@ "declarationMap": true }, "include": [ - "src/**/*", - "stories/**/*", - "tests/**/*", + "playwright/index.tsx", "playwright-ct.config.ts", - "playwright" - ], - "exclude": ["node_modules"] + "src", + "stories", + "tests" + ] }