Skip to content

Commit 573bc3f

Browse files
committed
Cleanup
1 parent b494e3d commit 573bc3f

File tree

1 file changed

+0
-4
lines changed
  • turbopack/crates/turbopack/src

1 file changed

+0
-4
lines changed

turbopack/crates/turbopack/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ async fn apply_module_type(
167167
))
168168
}
169169
Some(TreeShakingMode::ReexportsOnly) => {
170-
let parsed = module.parse();
171170
if let Some(part) = part {
172171
match part {
173172
ModulePart::Evaluation => {
@@ -196,14 +195,12 @@ async fn apply_module_type(
196195
.resolve()
197196
.await?,
198197
),
199-
parsed,
200198
part,
201199
side_effect_free_packages,
202200
)
203201
} else {
204202
apply_reexport_tree_shaking(
205203
Vc::upcast(module.resolve().await?),
206-
parsed,
207204
part,
208205
side_effect_free_packages,
209206
)
@@ -280,7 +277,6 @@ async fn apply_module_type(
280277
#[turbo_tasks::function]
281278
async fn apply_reexport_tree_shaking(
282279
module: Vc<Box<dyn EcmascriptChunkPlaceable>>,
283-
parsed: Vc<ParseResult>,
284280
part: ModulePart,
285281
side_effect_free_packages: Vc<Glob>,
286282
) -> Result<Vc<Box<dyn Module>>> {

0 commit comments

Comments
 (0)