summaryrefslogtreecommitdiff
path: root/examples/portfolio-svelte/astro.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/portfolio-svelte/astro.config.mjs')
-rw-r--r--examples/portfolio-svelte/astro.config.mjs13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/portfolio-svelte/astro.config.mjs b/examples/portfolio-svelte/astro.config.mjs
new file mode 100644
index 000000000..3e7d4acdb
--- /dev/null
+++ b/examples/portfolio-svelte/astro.config.mjs
@@ -0,0 +1,13 @@
+// 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} */ ({
+ // Enable the Svelte renderer to support Svelte components.
+ renderers: ['@astrojs/renderer-svelte'],
+});