From 18317dcc52f7959bad3f7f5ae00ec5168b3782d1 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Mon, 9 Oct 2023 17:15:19 +0100 Subject: [PATCH] Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger --- packages/astro/src/@types/astro.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 2ddd0af47..97ede65dc 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -586,7 +586,7 @@ export interface AstroUserConfig { * * Additionally, Astro will internally manipulate the configured value of `config.base` before making it available to integrations. The value of `config.base` as read by integrations will also be determined by your `trailingSlash` configuration in the same way. * - * This means with a configuration like this: + * In the example below, the values of `import.meta.env.BASE_URL` and `config.base` when processed will both be `/docs`: * ```js * { * base: '/docs/', @@ -594,9 +594,7 @@ export interface AstroUserConfig { * } * ``` * - * `import.meta.env.BASE_URL` and `config.base` will be `/docs`. - * - * In a configuration like this: + * In the example below, the values of `import.meta.env.BASE_URL` and `config.base` when processed will both be `/docs/`: * * ```js * { @@ -604,8 +602,6 @@ export interface AstroUserConfig { * trailingSlash: "always" * } * ``` - * - * `import.meta.env.BASE_URL` and `config.base` will be `/docs/`. */ base?: string;