Skip to content

Commit

Permalink
Fixing the new config defaults (docs only) (#2973)
Browse files Browse the repository at this point in the history
* updating the default listed in config jsdocs

* chore: adding changeset

* outDir had the wrong default listed as well

* chore: updating changeset description
  • Loading branch information
Tony Sullivan authored Apr 3, 2022
1 parent 64869b5 commit 7591953
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/plenty-suits-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Updates the @docs default value listed for config.publicDir and config.outputDir
4 changes: 2 additions & 2 deletions packages/astro/src/@types/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand All @@ -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.
Expand Down

0 comments on commit 7591953

Please sign in to comment.