Skip to content

Commit

Permalink
fix(ESM loader): wrong script src path
Browse files Browse the repository at this point in the history
Used to inject BEEQ ESM into Zeroheight live code preview
  • Loading branch information
dgonzalezr committed Sep 1, 2023
1 parent 2bdb09f commit c76de5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/beeq/src/global/scripts/esm-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
const url = new URL(document.currentScript.src);
const script = document.createElement('script');
script.type = 'module';
script.src = `${url.origin}/bee-q/bee-q.esm.js`;
script.src = `${url.origin}/beeq/bee-q.esm.js`;
document.head.appendChild(script);

0 comments on commit c76de5a

Please sign in to comment.