diff --git a/packages/react/tailwind.ts b/packages/react/tailwind.ts index 4deca40a22..97afcd6646 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,ts,jsx,js,html}' + fileGlobPattern: string = '/**/*!(*.stories|*.spec).{tsx,ts,jsx,js,html}' ) { try { return jsGenerateGlobs(dirPath, fileGlobPattern);