diff options
| author | seth <[email protected]> | 2024-02-12 20:29:15 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-02-13 00:24:08 -0500 |
| commit | 2cbc22348ef038181e1dc89635a3be005604a4ca (patch) | |
| tree | 33a33ffe0203b730078d01c5d7d3951239619ca9 /astro.config.ts | |
| parent | 05780c6b2d8b184122a32095c50363a6c8617d64 (diff) | |
back to astro
Diffstat (limited to 'astro.config.ts')
| -rw-r--r-- | astro.config.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/astro.config.ts b/astro.config.ts new file mode 100644 index 0000000..4dd8829 --- /dev/null +++ b/astro.config.ts @@ -0,0 +1,13 @@ +import { defineConfig } from "astro/config"; +import mdx from "@astrojs/mdx"; +import sitemap from "@astrojs/sitemap"; +import tailwind from "@astrojs/tailwind"; + +const site = + process.env.SITE_URL || process.env.CF_PAGES_URL || "https://my.site"; + +// https://astro.build/config +export default defineConfig({ + site, + integrations: [mdx(), sitemap(), tailwind()], +}); |
