Skip to content

Commit

Permalink
ImportedSymbol::Exports
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed May 22, 2024
1 parent 6c4adcc commit d1952dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/turbopack-ecmascript/src/analyzer/imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ fn get_import_symbol_from_import(
_ => local.sym.clone(),
}),
ImportSpecifier::Default(..) => ImportedSymbol::Symbol(js_word!("default")),
ImportSpecifier::Namespace(..) => ImportedSymbol::Namespace,
ImportSpecifier::Namespace(..) => ImportedSymbol::Exports,
}
}

Expand All @@ -443,6 +443,6 @@ fn get_import_symbol_from_export(
ImportedSymbol::Symbol(orig_name(orig))
}
ExportSpecifier::Default(..) => ImportedSymbol::Symbol(js_word!("default")),
ExportSpecifier::Namespace(..) => ImportedSymbol::Namespace,
ExportSpecifier::Namespace(..) => ImportedSymbol::Exports,
}
}

0 comments on commit d1952dd

Please sign in to comment.