mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
feat(es/minifier): Exclude JSON
from alias list (#5698)
This commit is contained in:
parent
18efd12d97
commit
fc28242b99
@ -63,7 +63,8 @@ impl InfectionCollector<'_> {
|
||||
|
||||
if self.unresolved_ctxt == Some(e.1) {
|
||||
match e.0 {
|
||||
js_word!("String")
|
||||
js_word!("JSON")
|
||||
| js_word!("String")
|
||||
| js_word!("Object")
|
||||
| js_word!("Number")
|
||||
| js_word!("BigInt")
|
||||
|
Loading…
Reference in New Issue
Block a user