Skip to content

Commit 61fd52c

Browse files
committed
feat: update allow exports for react-router projects
1 parent a523ec3 commit 61fd52c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/configs/react.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,17 @@ export async function react(
179179
]
180180
: []),
181181
...(isUsingRemix || isUsingReactRouter
182-
? ['meta', 'links', 'headers', 'loader', 'action']
182+
? [
183+
'meta',
184+
'links',
185+
'headers',
186+
'loader',
187+
'action',
188+
'clientLoader',
189+
'clientAction',
190+
'handle',
191+
'shouldRevalidate',
192+
]
183193
: []),
184194
],
185195
},

0 commit comments

Comments
 (0)