Skip to content

Commit

Permalink
hand-fix some code gated behind next-swc-napi/plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
bgw committed Oct 8, 2024
1 parent 725cee3 commit e455fd7
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,7 @@ pub async fn get_swc_ecma_transform_rule_impl(
};

plugins.push((
SwcPluginModule::cell(SwcPluginModule::new(
name,
file.content().to_bytes()?.to_vec(),
)),
SwcPluginModule::new(name, file.content().to_bytes()?.to_vec()).resolved_cell(),
config.clone(),
));
}
Expand Down

0 comments on commit e455fd7

Please sign in to comment.