Skip to content

Commit f025c1e

Browse files
authored
fix: add Next.js router segment config (#608)
1 parent 90fae1d commit f025c1e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/configs/react.ts

+7
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@ export async function react(
107107
allowExportNames: [
108108
...(isUsingNext
109109
? [
110+
'dynamic',
111+
'dynamicParams',
112+
'revalidate',
113+
'fetchCache',
114+
'runtime',
115+
'preferredRegion',
116+
'maxDuration',
110117
'config',
111118
'generateStaticParams',
112119
'metadata',

0 commit comments

Comments
 (0)