mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +03:00
c648232864
Now swc passes all tests from `@babel/plugin-transform-classes`
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
|