From f56329b93c9ddb341b89c1f0b888c206e2e367a0 Mon Sep 17 00:00:00 2001 From: Chris Friedberg Date: Wed, 30 Oct 2024 12:31:13 -0700 Subject: [PATCH] fix: exclude node_modules from swep command --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b9fee3a9..8af06802 100644 --- a/package.json +++ b/package.json @@ -214,7 +214,7 @@ "build:input:release": "npm-run-all build:input:full build:test build:demo:input", "build:dropdown:release": "npm-run-all build:dropdown:full build:test build:demo:dropdown", - "sweep": "rm -rf dist && find ./demo ./src ./components -type f \\( -name \"*.css\" -o -name \"*-css.js\" \\) -delete", + "sweep": "rm -rf dist && find ./demo ./src ./components -not -path \"*/node_modules/*\" -type f \\( -name \"*.css\" -o -name \"*-css.js\" \\) -delete", "test": "wtr --coverage", "test:watch": "wtr --watch",