summaryrefslogtreecommitdiff
path: root/examples/with-markdown-shiki/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/with-markdown-shiki/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/with-markdown-shiki/astro.config.mjs')
-rw-r--r--examples/with-markdown-shiki/astro.config.mjs12
1 files changed, 3 insertions, 9 deletions
diff --git a/examples/with-markdown-shiki/astro.config.mjs b/examples/with-markdown-shiki/astro.config.mjs
index 59502b3a8..3e9c52479 100644
--- a/examples/with-markdown-shiki/astro.config.mjs
+++ b/examples/with-markdown-shiki/astro.config.mjs
@@ -1,14 +1,8 @@
-// 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.
+import { defineConfig } from 'astro/config';
import astroRemark from '@astrojs/markdown-remark';
-// @ts-check
-export default /** @type {import('astro').AstroUserConfig} */ ({
+// https://astro.build/config
+export default defineConfig({
// Enable Custom Markdown options, plugins, etc.
renderers: [],
markdownOptions: {