diff --git a/packages/nextjs/tsconfig.declarations.json b/packages/nextjs/tsconfig.declarations.json index c42a5efd18e..cd75cd637df 100644 --- a/packages/nextjs/tsconfig.declarations.json +++ b/packages/nextjs/tsconfig.declarations.json @@ -8,5 +8,6 @@ "declarationMap": true, "sourceMap": false, "declarationDir": "./dist/types" - } + }, + "exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"] }