Commit e8c6723c authored by LichuAcu's avatar LichuAcu

fix: Fix find_turbopack_part_id_in_asserts in the PartId::Export(e) case

parent 6bf5a8ab
......@@ -1199,6 +1199,7 @@ pub(crate) fn find_turbopack_part_id_in_asserts(asserts: &ObjectLit) -> Option<P
})) if &*key.sym == ASSERT_CHUNK_KEY => match &*s.value {
"module evaluation" => Some(PartId::ModuleEvaluation),
"exports" => Some(PartId::Exports),
_ if s.value.starts_with("export ") => Some(PartId::Export(s.value[7..].into())),
_ => None,
},
_ => None,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment