diff --git a/packages/astro/src/env/runtime.ts b/packages/astro/src/env/runtime.ts index 3d3b3c77500b..50684f63ef04 100644 --- a/packages/astro/src/env/runtime.ts +++ b/packages/astro/src/env/runtime.ts @@ -1,6 +1,6 @@ import { AstroError, AstroErrorData } from '../core/errors/index.js'; -import { ENV_SYMBOL } from './runtime-constants.js'; import { invalidVariablesToError } from './errors.js'; +import { ENV_SYMBOL } from './runtime-constants.js'; import type { ValidationResultInvalid } from './validators.js'; export { validateEnvVariable, getEnvFieldType } from './validators.js'; diff --git a/packages/astro/src/env/vite-plugin-env.ts b/packages/astro/src/env/vite-plugin-env.ts index d8165f48caf4..a672addccdf2 100644 --- a/packages/astro/src/env/vite-plugin-env.ts +++ b/packages/astro/src/env/vite-plugin-env.ts @@ -9,9 +9,9 @@ import { VIRTUAL_MODULES_IDS_VALUES, } from './constants.js'; import { type InvalidVariable, invalidVariablesToError } from './errors.js'; +import { ENV_SYMBOL } from './runtime-constants.js'; import type { EnvSchema } from './schema.js'; import { getEnvFieldType, validateEnvVariable } from './validators.js'; -import { ENV_SYMBOL } from './runtime-constants.js'; interface AstroEnvVirtualModPluginParams { settings: AstroSettings;