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