Skip to content

Commit c43d299

Browse files
authored
update deprecated globing mechanism (#236)
1 parent 2dff275 commit c43d299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Presets/vue-stubs/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ app.component('example-component', ExampleComponent);
2626
* Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
2727
*/
2828

29-
// Object.entries(import.meta.globEager('./**/*.vue')).forEach(([path, definition]) => {
29+
// Object.entries(import.meta.glob('./**/*.vue', { eager: true })).forEach(([path, definition]) => {
3030
// app.component(path.split('/').pop().replace(/\.\w+$/, ''), definition.default);
3131
// });
3232

0 commit comments

Comments
 (0)