summaryrefslogtreecommitdiff
path: root/docs/astro.config.mjs
diff options
context:
space:
mode:
authorGravatar Jonathan Neal <jonathantneal@hotmail.com> 2021-11-12 07:40:49 -0500
committerGravatar GitHub <noreply@github.com> 2021-11-12 07:40:49 -0500
commit5470fda3fe64fed5d303f118bb3009a0a1e51ddc (patch)
tree376a8da132ced3e54071600e86e0377281541c99 /docs/astro.config.mjs
parent5f5df8a63a9c18260afab8b93b478176597a3327 (diff)
downloadastro-5470fda3fe64fed5d303f118bb3009a0a1e51ddc.tar.gz
astro-5470fda3fe64fed5d303f118bb3009a0a1e51ddc.tar.zst
astro-5470fda3fe64fed5d303f118bb3009a0a1e51ddc.zip
Add Migration Guide to docs (#1751)
* Add Migration Guide to docs * edit: replace astro.config.js with astro.config.mjs * edit: use plain object in define:vars example * edit: improve 'components in markdown' documentation * edit: use astro resolve in file reference documentation example * edit: rename 'writing plugins' heading to 'custom renderers' Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * edit: fix PUBLIC_ environment variable example * edit: fix define:vars variable in example * edit: remove top-level alias documentation * edit: cleanup "passing variables into scripts and styles" description * Update migration-guide.md * Update migration-guide.md * update deployment config * update configuration * fix some errors and write a commit message about it * move the migration guide * update documentation * add migration guide to sidebar Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Diffstat (limited to 'docs/astro.config.mjs')
-rw-r--r--docs/astro.config.mjs10
1 files changed, 1 insertions, 9 deletions
diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs
index 4a1bc99f6..4f3e7e688 100644
--- a/docs/astro.config.mjs
+++ b/docs/astro.config.mjs
@@ -8,13 +8,5 @@ export default /** @type {import('astro').AstroUserConfig} */ ({
'@astrojs/renderer-preact',
// Needed for Algolia search component
'@astrojs/renderer-react',
- ],
- vite: {
- resolve: {
- alias: {
- '~': '/src',
- components: '/src/components',
- },
- },
- },
+ ]
});