AstroGlobUsedOutside:
Astro.glob(GLOB_STR)can only be used in.astrofiles.import.meta.glob(GLOB_STR)can be used instead to achieve a similar result.
Astro.glob() can only be used in .astro files. You can use import.meta.glob() instead to achieve the same result.
See Also:
Error Reference
© 2021 Fred K. Schott
Licensed under the MIT License.
https://docs.astro.build/en/reference/errors/astro-glob-used-outside/