File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
turbopack/crates/turbopack/src Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,6 @@ async fn apply_module_type(
167
167
) )
168
168
}
169
169
Some ( TreeShakingMode :: ReexportsOnly ) => {
170
- let parsed = module. parse ( ) ;
171
170
if let Some ( part) = part {
172
171
match part {
173
172
ModulePart :: Evaluation => {
@@ -196,14 +195,12 @@ async fn apply_module_type(
196
195
. resolve ( )
197
196
. await ?,
198
197
) ,
199
- parsed,
200
198
part,
201
199
side_effect_free_packages,
202
200
)
203
201
} else {
204
202
apply_reexport_tree_shaking (
205
203
Vc :: upcast ( module. resolve ( ) . await ?) ,
206
- parsed,
207
204
part,
208
205
side_effect_free_packages,
209
206
)
@@ -280,7 +277,6 @@ async fn apply_module_type(
280
277
#[ turbo_tasks:: function]
281
278
async fn apply_reexport_tree_shaking (
282
279
module : Vc < Box < dyn EcmascriptChunkPlaceable > > ,
283
- parsed : Vc < ParseResult > ,
284
280
part : ModulePart ,
285
281
side_effect_free_packages : Vc < Glob > ,
286
282
) -> Result < Vc < Box < dyn Module > > > {
You can’t perform that action at this time.
0 commit comments