diff --git a/package.json b/package.json index e3ee3b3e6..c5ef393a4 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ ], "scripts": { "build": "turbo run --no-daemon build build:css --filter='./packages/@uppy/*' --filter='./packages/uppy'", - "build:clean": "cp .gitignore .gitignore.bak && printf '!node_modules\n!**/node_modules/**/*\n' >> .gitignore; git clean -Xfd packages e2e .parcel-cache coverage; mv .gitignore.bak .gitignore", + "build:clean": "git clean -Xfd packages e2e .parcel-cache coverage .turbo -e '!node_modules' -e '!**/node_modules/**/*'", "build:watch": "turbo watch build build:css --filter='./packages/@uppy/*'", "migrate:components": "yarn workspace @uppy/components migrate", "check": "yarn exec biome check --write",