Skip to content

Commit

Permalink
Try without full bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
salmenf committed Sep 8, 2024
1 parent 9a5983d commit 38427a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @webwriter/core/viewmodel/services/bundleservice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ async function respond<T extends Action["collection"]>(action: Action<T>) {
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)
Expand Down

0 comments on commit 38427a2

Please sign in to comment.