From 0fd4aaa9068f8ae047fb426d2ca1d0d6d5f296e5 Mon Sep 17 00:00:00 2001 From: Alvin Bryan <107407814+alvinometric@users.noreply.github.com> Date: Thu, 8 Dec 2022 17:20:00 +0000 Subject: [PATCH] docs: How to access base config in the app (#5482) --- packages/astro/src/@types/astro.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index c27d88b47..1b6c98ea5 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -432,6 +432,8 @@ export interface AstroUserConfig { * @description * The base path to deploy to. Astro will build your pages and assets using this path as the root. Currently, this has no effect during development. * + * You can access this value in your app via `import.meta.env.BASE_URL`. + * * ```js * { * base: '/docs'