Link to the snowpack config docs (#287)

* Link to the snowpack config docs

Updates the config section to let people know they can configure Snowpack and links to the docs.

* chore: update to `snowpack.config.mjs`

Co-authored-by: Nate Moore <nate@skypack.dev>
This commit is contained in:
Matthew Phillips 2021-06-01 19:45:31 -04:00 committed by GitHub
parent 00c6dec8eb
commit ee5b1ac12f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -174,8 +174,14 @@ Astro will automatically create a `/sitemap.xml` for you for SEO! Be sure to set
## ⚙️ Config ## ⚙️ Config
Configuration for Astro is done through the `astro.config.mjs` file at the root of your project. To learn more:
👉 [**`astro.config.mjs` Reference**][docs-config] 👉 [**`astro.config.mjs` Reference**][docs-config]
Astro uses __[Snowpack](https://www.snowpack.dev/)__ for module resolution. You can configure Snowpack by adding a `snowpack.config.mjs` file in the root of your project. You might need this to add loader plugins, for example. To learn more:
👉 [**`snowpack.config.mjs` Reference**][docs-snowpack-config]
## 📚 API ## 📚 API
👉 [**Full API Reference**][docs-api] 👉 [**Full API Reference**][docs-api]
@ -189,6 +195,7 @@ Astro will automatically create a `/sitemap.xml` for you for SEO! Be sure to set
👉 [**Dev Server Docs**][docs-dev] 👉 [**Dev Server Docs**][docs-dev]
[docs-config]: ./docs/config.md [docs-config]: ./docs/config.md
[docs-snowpack-config]: https://www.snowpack.dev/reference/configuration
[docs-syntax]: ./docs/syntax.md [docs-syntax]: ./docs/syntax.md
[docs-api]: ./docs/api.md [docs-api]: ./docs/api.md
[docs-collections]: ./docs/collections.md [docs-collections]: ./docs/collections.md