mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +03:00
10 lines
186 B
Bash
10 lines
186 B
Bash
#!/usr/bin/bash
|
|
|
|
rm -f *.js
|
|
|
|
cp ../../node_modules/@babel/runtime/helpers/*.js .
|
|
|
|
# camelCase to snake case
|
|
rename -f 's/([a-z])([A-Z])/$1_$2/g; y/A-Z/a-z/' *.js
|
|
rename --prepend=_ *.js
|