Skip to content

Commit eb44a47

Browse files
committed
chore: cleanup
1 parent 1aa0485 commit eb44a47

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

crates/oxc_transformer/src/plugins/module_runner_transform.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,6 @@ impl<'a> ModuleRunnerTransform<'a> {
435435
Self::create_imported_names_object(imported_names, ctx),
436436
]);
437437
new_stmts.push(Self::create_import(SPAN, pattern, arguments, ctx));
438-
// hoist_imports.push(Self::create_import(SPAN, pattern, arguments, ctx));
439438
binding
440439
});
441440

@@ -500,7 +499,6 @@ impl<'a> ModuleRunnerTransform<'a> {
500499
// `export * as foo from 'vue'` ->
501500
// `Object.defineProperty(__vite_ssr_exports__, 'foo', { enumerable: true, configurable: true, get(){ return __vite_ssr_import_0__ } });`
502501
let export = Self::create_export(span, ident, exported.name(), ctx);
503-
// hoist_imports.push(import);
504502
new_stmts.push(import);
505503
hoist_exports.push(export);
506504
} else {

0 commit comments

Comments
 (0)