merge_exports

Function merge_exports 

Source
pub fn merge_exports(
    mg: &mut ModuleGraph<'_>,
    module_id: &ModuleIdentifier,
    exports_info: ExportsInfo,
    exports: &Vec<ExportNameOrSpec>,
    global_export_info: DefaultExportInfo<'_>,
    dep_id: DependencyId,
) -> (bool, Vec<(ModuleIdentifier, ModuleIdentifier)>)
Expand description

Do merging of exports info and create export infos from export specs This method is used for the case that the exports info data will be nested modified that means this exports info can not be modified parallelly