From ff25de3f6af011b7ec5ed65013f4a0fce69d78d3 Mon Sep 17 00:00:00 2001 From: Tobbe Lundberg Date: Fri, 26 Jul 2024 14:03:40 +0200 Subject: [PATCH] chore(clean): Don't clean inside nested node_modules (#11096) --- tasks/clean.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/clean.mjs b/tasks/clean.mjs index dfa6dac5407f..c19bfb9250fc 100644 --- a/tasks/clean.mjs +++ b/tasks/clean.mjs @@ -8,7 +8,7 @@ await $`yarn clean:prisma` await rimraf('packages/**/dist', { glob: { - ignore: 'packages/**/{fixtures,__fixtures__}/**/dist', + ignore: 'packages/**/{fixtures,__fixtures__,node_modules}/**/dist', }, })