From 38427a2259164242701bd8db6b061df6a08f1d0f Mon Sep 17 00:00:00 2001 From: Frederic Salmen <4583669+salmenf@users.noreply.github.com> Date: Sun, 8 Sep 2024 16:42:13 +0200 Subject: [PATCH] Try without full bundle --- @webwriter/core/viewmodel/services/bundleservice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@webwriter/core/viewmodel/services/bundleservice.ts b/@webwriter/core/viewmodel/services/bundleservice.ts index 7507703..a9726d5 100644 --- a/@webwriter/core/viewmodel/services/bundleservice.ts +++ b/@webwriter/core/viewmodel/services/bundleservice.ts @@ -552,7 +552,7 @@ async function respond(action: Action) { return mapResponse } else if(action.collection === "bundles") { - const mapResponse = await respond({collection: "importmaps", ids: action.ids, args: {forPackage: "true"}}) + const mapResponse = await respond({collection: "importmaps", ids: action.ids, args: {}}) const map: IImportMap = await mapResponse.json() const importMap = new ImportMap({map, mapUrl: new URL("http://localhost:5173"), rootUrl: null}) const bundleResponse = await getBundle(action.ids, importMap)