diff options
author | 2021-04-29 11:28:33 +0100 | |
---|---|---|
committer | 2021-04-29 11:28:33 +0100 | |
commit | 787ba306cc5d688b4889026ce11a0c5dc95df3d9 (patch) | |
tree | 0f3964685684f43182e973429c8619487d987009 /examples/blog/astro.config.mjs | |
parent | 961eee50070a1f054ca4762e320d3dee4e1f6a46 (diff) | |
download | astro-787ba306cc5d688b4889026ce11a0c5dc95df3d9.tar.gz astro-787ba306cc5d688b4889026ce11a0c5dc95df3d9.tar.zst astro-787ba306cc5d688b4889026ce11a0c5dc95df3d9.zip |
example blog add buildoptions (#142)
* examples: add astroRoot to blog example
* example: add astro config for `npm run build` #141
Diffstat (limited to 'examples/blog/astro.config.mjs')
-rw-r--r-- | examples/blog/astro.config.mjs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/examples/blog/astro.config.mjs b/examples/blog/astro.config.mjs index 5fc4abd1c..2f34788e5 100644 --- a/examples/blog/astro.config.mjs +++ b/examples/blog/astro.config.mjs @@ -1,3 +1,10 @@ export default { - site: 'https://muppet-blog.github.io/', + projectRoot: '.', + public: './public', + dist: './dist', + buildOptions:{ + sitemap: true, + site: 'https://muppet-blog.github.io/', + }, + astroRoot: './src', }; |