summaryrefslogtreecommitdiff
path: root/examples/minimal/astro.config.mjs
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-08-23 14:07:03 -0700
committerGravatar GitHub <noreply@github.com> 2021-08-23 14:07:03 -0700
commitf9cd031033d03a5f22b4a1272bbe97f92b845ef7 (patch)
treed8725a5227213afa807c230b56d7b21efeb16c2b /examples/minimal/astro.config.mjs
parent010c71e16ad885376dea548a7a0f8980174a207e (diff)
downloadastro-f9cd031033d03a5f22b4a1272bbe97f92b845ef7.tar.gz
astro-f9cd031033d03a5f22b4a1272bbe97f92b845ef7.tar.zst
astro-f9cd031033d03a5f22b4a1272bbe97f92b845ef7.zip
Add zod schema validation (#1198)
* add zod schema validation * update pageUrlFormat config name * add trailing slash support to config
Diffstat (limited to 'examples/minimal/astro.config.mjs')
-rw-r--r--examples/minimal/astro.config.mjs14
1 files changed, 12 insertions, 2 deletions
diff --git a/examples/minimal/astro.config.mjs b/examples/minimal/astro.config.mjs
index fcc415092..b6397b312 100644
--- a/examples/minimal/astro.config.mjs
+++ b/examples/minimal/astro.config.mjs
@@ -1,3 +1,13 @@
-export default {
+// Full Astro Configuration API Documentation:
+// https://docs.astro.build/reference/configuration-reference
+
+// @type-check enabled!
+// VSCode and other TypeScript-enabled text editors will provide auto-completion,
+// helpful tooltips, and warnings if your exported object is invalid.
+// You can disable this by removing "@ts-check" and `@type` comments below.
+
+// @ts-check
+export default /** @type {import('astro').AstroUserConfig} */ ({
+ // Set "renderers" to "[]" to disable all default, builtin component support.
renderers: [],
-};
+});