swc/ecmascript/minifier/scripts/project-ref.sh
강동윤 b02e189d07
feat(es/minifier): Implement more rules (#1871)
swc_ecma_codegen:
 - Fix codegen of `U+0028` and `U+0029`. 

swc_ecma_minifier:
 - Implement MVP.

swc_ecma_transforms_base:
 - `fixer`: Handle seq/await in rhs of for-of.
2021-07-30 10:11:27 +09:00

22 lines
432 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
run() {
terser --compress -- ./tests/projects/files/$1 > ./tests/projects/refs/$1
}
mkdir -p ./tests/projects/refs
run angular-1.2.5.js
run backbone-1.1.0.js
run jquery-1.9.1.js
run jquery.mobile-1.4.2.js
run mootools-1.4.5.js
run underscore-1.5.2.js
run yui-3.12.0.js
run react-17.0.2.js
run react-dom-17.0.2.js
prettier --write tests/projects/refs/
yarn run eslint --fix ./tests/projects/refs/