mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
20ce326909
swc_ecma_minifier: - `if_return`: Allow side-effect-free statements to come after `if_return`. - `collapse_vars`: Move variables without init to first. - `analyzer`: Remove useless fields. - Don't drop `return` tokens if there's a finally block. - `drop_return_value`: Drop side-effect-free return arguments. - `make_sequences`: Don't inject `void 0` to return args. - `if_terminate`: Move to the pure optimizer. - Fix a bug related to `RegExp`.
22 lines
514 B
JSON
22 lines
514 B
JSON
{
|
|
"name": "minifier",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"description": "EcmaScript minifier for the swc project. This is basically a port of terser.",
|
|
"main": "lab.js",
|
|
"directories": {
|
|
"test": "tests"
|
|
},
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"antd": "^4.16.13",
|
|
"babel-eslint": "^10.1.0",
|
|
"eslint": "^7.29.0"
|
|
}
|
|
}
|