occulto/rename.sh

6 lines
117 B
Bash
Raw Normal View History

2022-10-18 13:35:49 +00:00
#!/bin/sh
# Rename .js files to .cjs
rename -S .js .cjs dist/cjs/**
sed -i '' 's/\.js"/\.cjs"/g' dist/cjs/index.cjs