summaryrefslogtreecommitdiff
path: root/examples/framework-react/astro.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/framework-react/astro.config.mjs')
-rw-r--r--examples/framework-react/astro.config.mjs12
1 files changed, 3 insertions, 9 deletions
diff --git a/examples/framework-react/astro.config.mjs b/examples/framework-react/astro.config.mjs
index 443a69232..b35ad27e9 100644
--- a/examples/framework-react/astro.config.mjs
+++ b/examples/framework-react/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({
// Enable the React renderer to support React JSX components.
renderers: ['@astrojs/renderer-react'],
});
1a5c54d6be897caca6?s=13&d=retro' width='13' height='13' alt='Gravatar' /> MoustaphaDev 1-1/+1 2023-05-30fix: prioritize dynamic prerendered routes over dynamic server routes (#7235)Gravatar Happydev 6-19/+361 * test: add unit tests * fix: prioritize prerendered routes * chore: fix test * add comment * test: try avoiding race condition * chore: changeset * try avoiding race conditions attempt #2 * try avoiding race conditions (attempt 3) * final fix hopefuly * tet: add more tests * sort conflicting dynamic routes aplhabetically * test: fix test 2023-05-30[ci] formatGravatar matthewp 1-5/+8 2023-05-30Bug 6672 (#7062)Gravatar wulinsheng123 10-0/+138 * fix miss a head when the templaterender has a promise * fix * add some test * test files move to md directory * fix add * delect file --------- Co-authored-by: wuls <linsheng.wu@beantechs.com>