0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

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
This commit is contained in:
Tony Sullivan 2022-04-03 17:05:30 +00:00 committed by GitHub
parent 64869b5710
commit 75919537be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Updates the @docs default value listed for config.publicDir and config.outputDir

View file

@ -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.