diff --git a/tsconfig.json b/tsconfig.json
index 3e88e7d0b806661797903b0d1d5e7be87c5a163c..00436038a21a7a73d845903de22a6653a11d3840 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -16,5 +16,5 @@
     "moduleResolution": "Node",
     "module": "ESNext"
   },
-  "exclude": ["node_modules", "build"]
+  "exclude": ["**/node_modules/*", "**/build/*", "**/lib-dist/*"]
 }