You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we want to use TypeScript in tests too, we can't exclude **/__tests__/** files from our production builds. The usual approach seems to be having the default tsconfig for a package include all files, then exclude tests in a separate tsconfig (and then specify --project to have it use that tsconfig when building the code).
The text was updated successfully, but these errors were encountered:
As we want to use TypeScript in tests too, we can't exclude
**/__tests__/**
files from our production builds. The usual approach seems to be having the default tsconfig for a package include all files, then exclude tests in a separate tsconfig (and then specify--project
to have it use that tsconfig when building the code).The text was updated successfully, but these errors were encountered: