Commit 862e70d
authored
fix(es/minifier): Skip serde of
**Description:**
The `pure_funcs` is marked as `serde(default)` instead of [`serde(skip)` like `global_defs`](https://github.com/swc-project/swc/blob/v1.13.3/crates/swc_ecma_minifier/src/option/mod.rs#L226),
which leads to the unnecessary import of ecma ast deserialization code.
**BREAKING CHANGE:**
This is a breaking change from an API perspective, but this exposure is
likely accidental and no one uses it.pure_funcs in options (#10969)1 parent 8873f65 commit 862e70d
File tree
2 files changed
+7
-1
lines changed- .changeset
- crates/swc_ecma_minifier/src/option
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| |||
0 commit comments