feat: reduce number of island bundles (#2082)

This commit is contained in:
Marvin Hagemeister
2023-11-28 17:23:27 +01:00
committed by GitHub
parent ef26451dc6
commit 325850719a
33 changed files with 302 additions and 142 deletions
+2 -2
View File
@@ -289,8 +289,8 @@ export async function extractRoutes(
)
) {
if (typeof exportedFunction !== "function") continue;
const name = processedIsland.name;
const id = `${name}_${exportName}`.toLowerCase();
const name = processedIsland.name.toLowerCase();
const id = `${name}_${exportName.toLowerCase()}`;
islands.push({
id,
name,