Skip to content

Commit cffb213

Browse files
committed
fix: add Next.js router segment config
1 parent bc6cf56 commit cffb213

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/configs/react.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ export async function react(
9393
allowExportNames: [
9494
...(isUsingNext
9595
? [
96+
'dynamic',
97+
'dynamicParams',
98+
'revalidate',
99+
'fetchCache',
100+
'runtime',
101+
'preferredRegion',
102+
'maxDuration',
96103
'config',
97104
'generateStaticParams',
98105
'metadata',

0 commit comments

Comments
 (0)