From ac85a16a59099599a975face0d845214c9c579a7 Mon Sep 17 00:00:00 2001 From: Nadav Shatz Date: Wed, 6 Sep 2023 21:18:21 +0300 Subject: [PATCH] fix(react): fix createGlobPAtternsForDependencies path (#18546) --- packages/react/tailwind.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);