Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
h-a-n-a committed Dec 19, 2024
1 parent c9c6bbd commit 005b5a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rspack_binding_values/src/options/library.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl From<LibraryCustomUmdObject> for JsLibraryCustomUmdObject {
Self {
amd: value.amd,
commonjs: value.commonjs,
root: value.root.map(|v| Either::A(v)),
root: value.root.map(Either::A),
}
}
}
Expand Down Expand Up @@ -183,7 +183,7 @@ impl From<LibraryOptions> for JsLibraryOptions {
LibraryName::NonUmdObject(LibraryNonUmdObject::Array(names)) => Either3::B(names),
LibraryName::UmdObject(umd_object) => Either3::C(umd_object.into()),
}),
export: value.export.map(|v| Either::A(v)),
export: value.export.map(Either::A),
r#type: value.library_type,
umd_named_define: value.umd_named_define,
auxiliary_comment: value
Expand Down

0 comments on commit 005b5a1

Please sign in to comment.