Skip to content

Commit 3dc41d8

Browse files
authored
fix: parseExportNamesInto specifiers typo (#22537)
1 parent 2021234 commit 3dc41d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react-server-dom-webpack/src/ReactFlightWebpackNodeLoader.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,10 @@ async function parseExportNamesInto(
210210
addExportNames(names, node.declaration.id);
211211
}
212212
}
213-
if (node.specificers) {
214-
const specificers = node.specificers;
215-
for (let j = 0; j < specificers.length; j++) {
216-
addExportNames(names, specificers[j].exported);
213+
if (node.specifiers) {
214+
const specifiers = node.specifiers;
215+
for (let j = 0; j < specifiers.length; j++) {
216+
addExportNames(names, specifiers[j].exported);
217217
}
218218
}
219219
continue;

0 commit comments

Comments
 (0)