Is "safari10" "mangle" option implementation even necessary? #3373
-
Hello! I see from the That terser option is meant to prevent code like this from being generated: function loop() {
let a = someFunc();
console.log(a);
for (let a of [1,2,3]) {
console.log(a);
}
} Safari 10 views the second I took a look at what terser and swc do with this code. terser
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Yes, because |
Beta Was this translation helpful? Give feedback.
-
looks like safari10 is now supported: and it seems to have some side effects once enabled: (the |
Beta Was this translation helpful? Give feedback.
Yes, because
serde
does not provide a way to ignore a field.It's not used, but it's api of
terser
.