Skip to content

Commit

Permalink
fix: make demo/index.min.js to load as a module, add demo/api.js
Browse files Browse the repository at this point in the history
…into bundler
  • Loading branch information
sun-mota committed Oct 24, 2024
1 parent f016f21 commit 865c334
Show file tree
Hide file tree
Showing 5 changed files with 514 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demo/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
Prism.highlightAll();
});
</script>
<script type="module" data-demo-script="true" src="../index.js"></script>
<script type="module" data-demo-script="true" src="./api.min.js"></script>

<!-- If additional elements are needed for the demo, add them here. -->
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/dist/auro-accordion__bundled.js" type="module"></script>
Expand Down
1 change: 1 addition & 0 deletions demo/api.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import './index.js';
Loading

0 comments on commit 865c334

Please sign in to comment.