This website requires JavaScript.
Explore
Help
Sign In
swc-project
/
swc
Watch
1
Star
1
Fork
0
You've already forked swc
mirror of
https://github.com/swc-project/swc.git
synced
2024-12-29 16:42:28 +03:00
Code
Issues
Actions
5
Packages
Projects
Releases
Wiki
Activity
0a38dec525
swc
/
crates
/
swc_ecma_minifier
/
tests
/
single-pass
/
2
/
output.js
5 lines
81 B
JavaScript
Raw
Normal View
History
Unescape
Escape
fix(es/minifier): Improve minifier (#3350) swc_ecma_transforms_optimization: - `expr_simplifier`: Track more changes. swc_ecma_minifier: - Analyze after applying the pure optimizer. - Preserve access to a variable not in scope. - `compress`: Remove string literal if it was not a directive. - `pure/collapse_vars`: Merge vars declared in the first statement into one with initializers if `collapse_vars` and `join_vars` are enabled. - `unused`: Use `usage_count` instead of `ref_count`. - `unused`: Fix dropping rule for member expressions. - `unused`: Fix dropping rule for declarations. - `hoist_props`: Preserve exported items.
2022-01-27 09:36:22 +03:00
!
function
(
)
{
feat(es/minifier): Drop more unused vars (#3656)
2022-02-21 07:35:56 +03:00
Object
.
prototype
.
hasOwnProperty
;
fix(es/minifier): Improve minifier (#3350) swc_ecma_transforms_optimization: - `expr_simplifier`: Track more changes. swc_ecma_minifier: - Analyze after applying the pure optimizer. - Preserve access to a variable not in scope. - `compress`: Remove string literal if it was not a directive. - `pure/collapse_vars`: Merge vars declared in the first statement into one with initializers if `collapse_vars` and `join_vars` are enabled. - `unused`: Use `usage_count` instead of `ref_count`. - `unused`: Fix dropping rule for member expressions. - `unused`: Fix dropping rule for declarations. - `hoist_props`: Preserve exported items.
2022-01-27 09:36:22 +03:00
var
faderWidth
=
48
;
}
(
)
;
Reference in New Issue
Copy Permalink