mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
fix(minifier): do not remove_syntax in dead_code_elimination
This commit is contained in:
parent
bf48c7f02a
commit
bf43148f1e
1 changed files with 1 additions and 6 deletions
|
|
@ -93,11 +93,6 @@ impl CompressOptions {
|
|||
}
|
||||
|
||||
pub fn dead_code_elimination() -> Self {
|
||||
Self {
|
||||
remove_syntax: true,
|
||||
fold_constants: true,
|
||||
remove_dead_code: true,
|
||||
..Self::all_false()
|
||||
}
|
||||
Self { fold_constants: true, remove_dead_code: true, ..Self::all_false() }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue