diff --git a/packages/react/tailwind.ts b/packages/react/tailwind.ts index 12f448ac9509f..4deca40a2260d 100644 --- a/packages/react/tailwind.ts +++ b/packages/react/tailwind.ts @@ -7,7 +7,7 @@ import { createGlobPatternsForDependencies as jsGenerateGlobs } from '@nx/js/src */ export function createGlobPatternsForDependencies( dirPath: string, - fileGlobPattern: string = '/**/!(*.stories|*.spec).{tsx,jsx,js,html}' + fileGlobPattern: string = '/**/!(*.stories|*.spec).{tsx,ts,jsx,js,html}' ) { try { return jsGenerateGlobs(dirPath, fileGlobPattern);