Skip to content

Commit

Permalink
chore: fix globEager is not a function (#4924)
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 authored Jan 13, 2025
1 parent a6ac516 commit f986ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/src/components/demo-page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</template>

<script>
const demoVueReq = import.meta.globEager('../../../src/**/_example/*.vue');
const demoJsxReq = import.meta.globEager('../../../src/**/_example/*.jsx');
const demoVueReq = import.meta.glob('../../../src/**/_example/*.vue', { eager: true });
const demoJsxReq = import.meta.glob('../../../src/**/_example/*.jsx', { eager: true });
const demoReq = { ...demoVueReq, ...demoJsxReq };
const demoObject = {};
Expand Down

0 comments on commit f986ea9

Please sign in to comment.