summaryrefslogtreecommitdiff
path: root/packages/create-astro/src
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@matthewphillips.info> 2021-06-08 09:17:05 -0400
committerGravatar GitHub <noreply@github.com> 2021-06-08 09:17:05 -0400
commitf66fd1f7370b3c4a314eb11e98edc75a6c897168 (patch)
treeee232902a689fba4f22af0a12e05b2d4347b6aea /packages/create-astro/src
parent2db08436e684201569d2c65533b5720535ea1fee (diff)
downloadastro-f66fd1f7370b3c4a314eb11e98edc75a6c897168.tar.gz
astro-f66fd1f7370b3c4a314eb11e98edc75a6c897168.tar.zst
astro-f66fd1f7370b3c4a314eb11e98edc75a6c897168.zip
Remove __astro_component from knownEntrypoints (#327)
* Remove __astro_component from knownEntrypoints * Adds a default site. Otherwise the build throws * Adds the changeset
Diffstat (limited to 'packages/create-astro/src')
-rw-r--r--packages/create-astro/src/templates/blog/astro.config.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/create-astro/src/templates/blog/astro.config.mjs b/packages/create-astro/src/templates/blog/astro.config.mjs
index c7583a774..d72db6491 100644
--- a/packages/create-astro/src/templates/blog/astro.config.mjs
+++ b/packages/create-astro/src/templates/blog/astro.config.mjs
@@ -4,7 +4,7 @@ export default {
// 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: {
- // site: '', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs.
+ site: 'http://example.com', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs.
// sitemap: true, // Generate sitemap (set to "false" to disable)
},
devOptions: {