mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +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
|