diff --git a/package.json b/package.json index 9f820cb..4862992 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "fix:cargo": "cargo fix --allow-no-vcs", "fix:cargo-clippy": "cargo clippy --fix --allow-no-vcs", "fix:cargo-fmt": "cargo fmt", - "clean": "rimraf ./node_modules target target_check ./{packages,playground}/*/{node_modules,dist,.next,.turbo}" + "clean": "rimraf --glob ./node_modules target target_check ./{packages,playground}/*/{node_modules,dist,.next,.turbo}" }, "devDependencies": { "@changesets/changelog-github": "^0.4.8", diff --git a/packages/compiler/package.json b/packages/compiler/package.json index de52bb5..232a325 100644 --- a/packages/compiler/package.json +++ b/packages/compiler/package.json @@ -36,6 +36,6 @@ "build:web": "run-s build:web:*", "build:web:wasm-pack": "wasm-pack build --target=web --no-pack --out-dir=../../binding/wasm-web --out-name=excss_compiler ./crates/compiler_wasm", "build:web:package-json": "echo '{\"type\":\"module\"}' >> binding/wasm-web/package.json", - "build:clean": "rimraf binding/**/.gitignore" + "build:clean": "rimraf --glob binding/**/.gitignore" } }