diff --git a/contributors.yml b/contributors.yml index 441271bea7..6b36bf6c6c 100644 --- a/contributors.yml +++ b/contributors.yml @@ -312,3 +312,4 @@ - yuleicul - zeromask1337 - zheng-chuang +- AlemTuzlak \ No newline at end of file diff --git a/packages/react-router-dev/config.ts b/packages/react-router-dev/config.ts index 5f90eab4b5..5637533cac 100644 --- a/packages/react-router-dev/config.ts +++ b/packages/react-router-dev/config.ts @@ -4,3 +4,6 @@ export type { Preset, ServerBundlesFunction, } from "./config/config"; +export { + defineConfig +} from "./config/config"; \ No newline at end of file diff --git a/packages/react-router-dev/config/config.ts b/packages/react-router-dev/config/config.ts index a1e4a85036..76a4d01772 100644 --- a/packages/react-router-dev/config/config.ts +++ b/packages/react-router-dev/config/config.ts @@ -764,3 +764,7 @@ function findEntry( return undefined; } + +export function defineConfig(config: ReactRouterConfig){ + return config +} \ No newline at end of file