diff options
author | 2024-03-08 10:05:28 -0400 | |
---|---|---|
committer | 2024-03-08 14:05:28 +0000 | |
commit | 580d333f25e6e862da5b8713bf913c3015ee5f11 (patch) | |
tree | 261267841dbf030fa0589957acadcdaed03134bb | |
parent | 78bafc5d661ff7dd071c241cb1303c4d8a774d21 (diff) | |
download | astro-580d333f25e6e862da5b8713bf913c3015ee5f11.tar.gz astro-580d333f25e6e862da5b8713bf913c3015ee5f11.tar.zst astro-580d333f25e6e862da5b8713bf913c3015ee5f11.zip |
[docs] update JSDoc for formatting in docs (#10372)
-rw-r--r-- | packages/astro/src/@types/astro.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 3d7c7fbe6..46c6da048 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -887,10 +887,10 @@ export interface AstroUserConfig { * @description * Specifies the prefix for Astro-generated asset links. This can be used if assets are served from a different domain than the current site. * - * This requires uploading the assets in your local `./dist/_astro` folder to a corresponding `/_astro/` folder on the remote domain. + * This requires uploading the assets in your local `./dist/_astro` folder to a corresponding `/_astro/` folder on the remote domain. + * To rename the `_astro` path, specify a new directory in `build.assets`. * * To fetch all assets uploaded to the same domain (e.g. `https://cdn.example.com/_astro/...`), set `assetsPrefix` to the root domain as a string (regardless of your `base` configuration): - * To rename the `_astro` path, specify a new directory in `build.assets`. * * ```js * { @@ -900,7 +900,7 @@ export interface AstroUserConfig { * } * ``` * - * **Added in 4.5.0** + * **Added in:** `astro@4.5.0` * * You can also pass an object to `assetsPrefix` to specify a different domain for each file type. * In this case, a `fallback` property is required and will be used by default for any other files. |