Skip to content

Commit a303941

Browse files
authored
fix(es/minifier): Fix typo in an option name (#10554)
**Description:** Fix `wrap_iife` typo (`warp_iife`) https://terser.org/docs/options/#format-options
1 parent 963ac9e commit a303941

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/breezy-cherries-hear.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
swc_core: patch
3+
swc_ecma_minifier: patch
4+
---
5+
6+
Fix wrap_iife typo

crates/swc_ecma_minifier/src/js.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ pub struct JsMinifyFormatOptions {
186186
pub webkit: bool,
187187

188188
/// Not implemented yet.
189-
#[serde(default, alias = "warp_iife")]
189+
#[serde(default, alias = "wrap_iife")]
190190
pub wrap_iife: bool,
191191

192192
/// Not implemented yet.

0 commit comments

Comments
 (0)