aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/env/vite-plugin-env.ts2
-rw-r--r--packages/astro/templates/env/module.mjs2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/src/env/vite-plugin-env.ts b/packages/astro/src/env/vite-plugin-env.ts
index a922a9212..9aae2cf94 100644
--- a/packages/astro/src/env/vite-plugin-env.ts
+++ b/packages/astro/src/env/vite-plugin-env.ts
@@ -8,9 +8,9 @@ import {
VIRTUAL_MODULES_IDS,
VIRTUAL_MODULES_IDS_VALUES,
} from './constants.js';
+import { type InvalidVariable, invalidVariablesToError } from './errors.js';
import type { EnvSchema } from './schema.js';
import { getEnvFieldType, validateEnvVariable } from './validators.js';
-import { invalidVariablesToError, type InvalidVariable } from './errors.js';
// TODO: reminders for when astro:env comes out of experimental
// Types should always be generated (like in types/content.d.ts). That means the client module will be empty
diff --git a/packages/astro/templates/env/module.mjs b/packages/astro/templates/env/module.mjs
index 08c0a0a7a..0e2dd89eb 100644
--- a/packages/astro/templates/env/module.mjs
+++ b/packages/astro/templates/env/module.mjs
@@ -3,9 +3,9 @@ import { schema } from 'virtual:astro:env/internal';
import {
createInvalidVariablesError,
getEnv,
+ getEnvFieldType,
setOnSetGetEnv,
validateEnvVariable,
- getEnvFieldType,
} from 'astro/env/runtime';
export const getSecret = (key) => {