summaryrefslogtreecommitdiff
path: root/examples/non-html-pages/astro.config.mjs
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2022-03-15 15:27:17 -0500
committerGravatar GitHub <noreply@github.com> 2022-03-15 15:27:17 -0500
commit2b76ee8d75d44492af18b9ead35293da7178930a (patch)
tree067e3732e6a0ffff70a3b7e38d7bb53c30341bf8 /examples/non-html-pages/astro.config.mjs
parent2d95541b52118f787144720cb28cdd64644b903a (diff)
downloadastro-2b76ee8d75d44492af18b9ead35293da7178930a.tar.gz
astro-2b76ee8d75d44492af18b9ead35293da7178930a.tar.zst
astro-2b76ee8d75d44492af18b9ead35293da7178930a.zip
Export defineConfig helper (#2803)
* feat: add astro/config entrypoint * chore: update examples to use `defineConfig` util * chore: prettier fix * chore: add changeset
Diffstat (limited to 'examples/non-html-pages/astro.config.mjs')
-rw-r--r--examples/non-html-pages/astro.config.mjs7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/non-html-pages/astro.config.mjs b/examples/non-html-pages/astro.config.mjs
index 67c95c240..c6e58dbdc 100644
--- a/examples/non-html-pages/astro.config.mjs
+++ b/examples/non-html-pages/astro.config.mjs
@@ -1,8 +1,7 @@
-// Full Astro Configuration API Documentation:
-// https://docs.astro.build/reference/configuration-reference
+import { defineConfig } from 'astro/config';
-// @ts-check
-export default /** @type {import('astro').AstroUserConfig} */ ({
+// https://astro.build/config
+export default defineConfig({
// Comment out "renderers: []" to enable Astro's default component support.
renderers: [],
});