Skip to content

Commit

Permalink
fix waiting for importmap
Browse files Browse the repository at this point in the history
  • Loading branch information
dmail committed Nov 6, 2023
1 parent 5e1f33e commit 925e91e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ const parseAndTransformHtmlReferences = async (
});

actions.push(async () => {
if (expectedType === "js_module" && importmapReadyPromise) {
if (expectedType === "js_module" && importmapFound) {
await importmapReadyPromise;
}
await inlineReference.urlInfo.cook();
Expand Down

0 comments on commit 925e91e

Please sign in to comment.