full site update
This commit is contained in:
2
node_modules/astro/dist/runtime/server/astro-global.js
generated
vendored
2
node_modules/astro/dist/runtime/server/astro-global.js
generated
vendored
@@ -2,6 +2,8 @@ import { ASTRO_VERSION } from "../../core/constants.js";
|
||||
import { AstroError, AstroErrorData } from "../../core/errors/index.js";
|
||||
function createAstroGlobFn() {
|
||||
const globHandler = (importMetaGlobResult) => {
|
||||
console.warn(`Astro.glob is deprecated and will be removed in a future major version of Astro.
|
||||
Use import.meta.glob instead: https://vitejs.dev/guide/features.html#glob-import`);
|
||||
if (typeof importMetaGlobResult === "string") {
|
||||
throw new AstroError({
|
||||
...AstroErrorData.AstroGlobUsedOutside,
|
||||
|
Reference in New Issue
Block a user