diff --git a/packages/react-router/src/index.tsx b/packages/react-router/src/index.tsx index 77270748939..22cc9c7ab52 100644 --- a/packages/react-router/src/index.tsx +++ b/packages/react-router/src/index.tsx @@ -349,7 +349,7 @@ export { Asset } from './Asset' export { HeadContent } from './HeadContent' export { Scripts } from './Scripts' export type * from './ssr/serializer' -export { composeRewrites } from '@tanstack/router-core' +export { composeRewrites, rewriteBasepath } from '@tanstack/router-core' export type { LocationRewrite, LocationRewriteFunction, diff --git a/packages/router-core/src/index.ts b/packages/router-core/src/index.ts index 50273b30e0a..841139830b9 100644 --- a/packages/router-core/src/index.ts +++ b/packages/router-core/src/index.ts @@ -437,6 +437,7 @@ export { defaultSerovalPlugins } from './ssr/serializer/seroval-plugins' export { composeRewrites, + rewriteBasepath, executeRewriteInput, executeRewriteOutput, } from './rewrite'