diff --git a/crates/swc_change_package_import/src/config.rs b/crates/swc_change_package_import/src/config.rs index f23bbf1..ec17395 100644 --- a/crates/swc_change_package_import/src/config.rs +++ b/crates/swc_change_package_import/src/config.rs @@ -50,6 +50,7 @@ pub struct SpecificConfigs { } #[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] pub struct MapProperty { pub to: String, pub import_type: Option,