diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-12 09:34:10 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-12 09:34:10 +0100 |
| commit | fae665188dfd2c333c6fbba43a8d3c776b285d27 (patch) | |
| tree | 9ff3f646cd2d376f0de81f22f1ee31ec3e77103a /package.json | |
| parent | 953cbbfa997db60bdcce6a17625f5561c56b431d (diff) | |
Replaces fd with ls
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index 57e5bf0..f465ffc 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "start": "astro dev", "build": "npm run build-api && astro build", "build-api": "cd api-src && npx tsc", - "prebuild-api": "cd api && fd \"(.js|.js.map)$\" | xargs rm", + "prebuild-api": "cd api && ls -R -1 | grep -e \"\\(.js\\|.js.map\\)$\" | xargs rm", "preview": "astro preview", "astro": "astro", "lint": "eslint .", |
