From dbc5bf97d90bb9e080411cd9775c70d6b02fcc9b Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Tue, 18 Oct 2022 15:42:55 +0200 Subject: [PATCH] maybe this time --- rename.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rename.sh b/rename.sh index 9a7b5c2..101311f 100755 --- a/rename.sh +++ b/rename.sh @@ -1,5 +1,5 @@ #!/bin/sh # Rename .js files to .cjs -rename -S .js .cjs dist/cjs/** -sed -i '' 's/\.js"/\.cjs"/g' dist/cjs/index.cjs +rename -S .js .cjs dist/cjs/**/* +sed -i '' 's/\.js"/\.cjs"/g' dist/cjs/**/*.cjs