summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-06-22 11:41:04 -0700
committerGravatar GitHub <noreply@github.com> 2021-06-22 14:41:04 -0400
commit09b5779884164c64063d8171b9aae825c485c7b9 (patch)
tree136670eda0b2028158a5ae51a79cf77015b2aef9 /docs
parent90929fbfcad13efaa8c7c9e26f7f9d097fcb5c27 (diff)
downloadastro-09b5779884164c64063d8171b9aae825c485c7b9.tar.gz
astro-09b5779884164c64063d8171b9aae825c485c7b9.tar.zst
astro-09b5779884164c64063d8171b9aae825c485c7b9.zip
fix issues uncovered by snowpack warnings (#511)
* fix output issues uncovered by snowpack warnings * Update the snowpack version * Load Prism dep as the default * Rename srcRoot to src * Document the src option * Add the changeset Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md
index f3c2a60ce..c91970306 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -5,7 +5,8 @@ To configure Astro, add an `astro.config.mjs` file in the root of your project.
```js
export default {
projectRoot: '.', // Where to resolve all URLs relative to. Useful if you have a monorepo project.
- pages: './src/pages', // Path to Astro components, pages, and data
+ src: './src', // Path to Astro components, pages, and data
+ pages: './src/pages', // Path to Astro/Markdown pages
dist: './dist', // When running `astro build`, path to final static output
public: './public', // A folder of static files Astro will copy to the root. Useful for favicons, images, and other files that don’t need processing.
buildOptions: {