Skip to content

Commit

Permalink
fixup! implement route scoping solution
Browse files Browse the repository at this point in the history
avoid unnecessary spreading
  • Loading branch information
dario-piotrowicz committed Jul 31, 2024
1 parent 435c53a commit a09e7d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ async function buildFunctionFile(
);

const namedExportsId = `getNamedExports_${chunkMapIdx++}`;
chunksExportsMap.set(namedExportsId, new Set([...keys.split(',')]));
chunksExportsMap.set(namedExportsId, new Set(keys.split(',')));
functionImports += `import { getNamedExports as ${namedExportsId} } from '${importPath}';\n`;
});

Expand Down

0 comments on commit a09e7d8

Please sign in to comment.