mirror of
https://github.com/morluto/rea.git
synced 2026-11-19 13:12:26 +00:00
fix(javascript): preserve exact native export facts (#10059)
fix(javascript): preserve exact native export names and unknown identity
This commit is contained in:
1 parent
4073cfc932
commit
ba4fb6a806
5 files changed
+157
-42
No files matched your search
@@ -106,11 +106,7 @@ const requestedExports = (nodes: readonly ApplicationNode[]): string[] => {
|
||||
const values = nodes.flatMap((node) =>
|
||||
node.observations.flatMap((observation) => {
|
||||
const facts = nativeExportObservationFacts(observation);
|
||||
return [
|
||||
...(facts.label === null ? [] : [facts.label]),
|
||||
...facts.requested,
|
||||
...facts.members,
|
||||
];
|
||||
return [...facts.requested, ...facts.members];
|
||||
}),
|
||||
);
|
||||
return [...new Set(values)].sort(compareUnicodeCodePoints);
|
||||
|
||||
Reference in new issue
Block a user