From 75919537be17f3c11991d5bfc24a7d75b7c32e36 Mon Sep 17 00:00:00 2001 From: Tony Sullivan Date: Sun, 3 Apr 2022 17:05:30 +0000 Subject: [PATCH] Fixing the new config defaults (docs only) (#2973) * updating the default listed in config jsdocs * chore: adding changeset * outDir had the wrong default listed as well * chore: updating changeset description --- .changeset/plenty-suits-happen.md | 5 +++++ packages/astro/src/@types/astro.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/plenty-suits-happen.md diff --git a/.changeset/plenty-suits-happen.md b/.changeset/plenty-suits-happen.md new file mode 100644 index 000000000..11700a96b --- /dev/null +++ b/.changeset/plenty-suits-happen.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Updates the @docs default value listed for config.publicDir and config.outputDir diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 854e7e377..058771d8a 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -157,7 +157,7 @@ export interface AstroUserConfig { * @docs * @name publicDir * @type {string} - * @default `"./publicDir"` + * @default `"./public"` * @description * Set the directory for your static assets. Files in this directory are served at `/` during dev and copied to your build directory during build. These files are always served or copied as-is, without transform or bundling. * @@ -175,7 +175,7 @@ export interface AstroUserConfig { * @docs * @name outDir * @type {string} - * @default `"./outDir"` + * @default `"./out"` * @description Set the directory that `astro build` writes your final build to. * * The value can be either an absolute file system path or a path relative to the project root.