Commit c8a2668
authored
fix: expose GlobalPassOption.build (#10968)
**Description:**
This PR #10449 changed `GlobalPassOption.build` to `pub(crate)`, but
ReactLynx's WASM plugin depends on it (see
https://github.com/lynx-family/lynx-stack/blob/main/packages/react/transform/src/lib.rs#L412).
When upgrading `swc_core`, we encountered a crash due to this change.
This PR aims to restore `GlobalPassOption.build` to `pub`.1 parent 862e70d commit c8a2668
File tree
2 files changed
+7
-1
lines changed- .changeset
- crates/swc/src/config
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 | |
|---|---|---|---|
| |||
1705 | 1705 | | |
1706 | 1706 | | |
1707 | 1707 | | |
1708 | | - | |
| 1708 | + | |
1709 | 1709 | | |
1710 | 1710 | | |
1711 | 1711 | | |
| |||
0 commit comments