diff --git a/babel-config.js b/babel-config.js index 5ff355129..e276b7784 100644 --- a/babel-config.js +++ b/babel-config.js @@ -27,5 +27,5 @@ module.exports = { }, ], ].filter(Boolean), - ignore: ["**/*/__tests__", "**/*/stories"], + ignore: ["**/*/__tests__", "**/*/stories", "**/*/__examples__"], }; diff --git a/tsconfig.json b/tsconfig.json index bb3a8dc1a..98e1bca17 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,5 +22,11 @@ "resolveJsonModule": true, "types": ["node", "jest", "@testing-library/jest-dom"] }, - "exclude": ["node_modules", "dist", "**/*/stories", "**/*/__tests__"] + "exclude": [ + "node_modules", + "dist", + "**/*/stories", + "**/*/__tests__", + "**/*/__examples__" + ] }