Skip to content

semantic: should not depend on module record  #3796

@Boshen

Description

@Boshen

babel exports/imported-types/input.ts

import type A from "A";
import type { B } from "B";
import C from "C";

export { A, B, C } // <-- A and B will be removed

is transformed to

export { C };

after ModuleRecord is removed, add_export_flag_for_export_identifier should not depend on ModulreRecord.

Metadata

Metadata

Assignees

Labels

C-bugCategory - Bug

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions