summaryrefslogtreecommitdiff
path: root/examples/subpath/astro.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/subpath/astro.config.mjs')
-rw-r--r--examples/subpath/astro.config.mjs12
1 files changed, 3 insertions, 9 deletions
diff --git a/examples/subpath/astro.config.mjs b/examples/subpath/astro.config.mjs
index 2b41e4ce7..42ecf7db4 100644
--- a/examples/subpath/astro.config.mjs
+++ b/examples/subpath/astro.config.mjs
@@ -1,13 +1,7 @@
-// Full Astro Configuration API Documentation:
-// https://docs.astro.build/reference/configuration-reference
+import { defineConfig } from 'astro/config';
-// @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} */ ({
+// https://astro.build/config
+export default defineConfig({
// Comment out "renderers: []" to enable Astro's default component support.
buildOptions: {
site: 'http://example.com/blog',