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:
parent
64869b5710
commit
75919537be
2 changed files with 7 additions and 2 deletions
5
.changeset/plenty-suits-happen.md
Normal file
5
.changeset/plenty-suits-happen.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Updates the @docs default value listed for config.publicDir and config.outputDir
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue