From 959644a8ddb3beb5334e6720476295e9e986f02c Mon Sep 17 00:00:00 2001 From: Alem Tuzlak Date: Fri, 13 Dec 2024 17:42:52 +0100 Subject: [PATCH] feat: add define config exported from config --- .history/contributors_20241213174234.yml | 315 +++++++++++++++++++++ contributors.yml | 1 + packages/react-router-dev/config.ts | 3 + packages/react-router-dev/config/config.ts | 4 + 4 files changed, 323 insertions(+) create mode 100644 .history/contributors_20241213174234.yml diff --git a/.history/contributors_20241213174234.yml b/.history/contributors_20241213174234.yml new file mode 100644 index 0000000000..6b36bf6c6c --- /dev/null +++ b/.history/contributors_20241213174234.yml @@ -0,0 +1,315 @@ +- 0xEddie +- abdallah-nour +- abeadam +- abhi-kr-2100 +- AchThomas +- acusti +- adamdotjs +- adil62 +- adriananin +- adrienharnay +- afzalsayed96 +- AhmadMayo +- Ajayff4 +- akamfoad +- alany411 +- alberto +- alexandernanberg +- alexanderson1993 +- alexlbr +- amitdahan +- AmRo045 +- amsal +- andreasottosson-polestar +- andreiduca +- antonmontrezor +- appden +- apple-yagi +- arjunyel +- arka1002 +- Armanio +- arnassavickas +- aroyan +- Artur- +- ashusnapx +- avipatel97 +- awreese +- aymanemadidi +- ayushmanchhabra +- babafemij-k +- bavardage +- bbrowning918 +- BDomzalski +- bhbs +- bilalk711 +- bobziroll +- Brendonovich +- BrianT1414 +- brockross +- brookslybrand +- brophdawg11 +- btav +- bvangraafeiland +- CanRau +- cassidoo +- chaance +- chasinhues +- chensokheng +- chrisngobanh +- christopherchudzicki +- ChristophP +- christowiz +- clavery +- codeape2 +- coryhouse +- ctnelson1997 +- cvbuelow +- damianstasik +- danielberndt +- daniilguit +- dauletbaev +- david-bezero +- david-crespo +- dcblair +- decadentsavant +- dgrijuela +- DigitalNaut +- dmitrytarassov +- dokeet +- doytch +- Drishtantr +- edwin177 +- eiffelwong1 +- ek9 +- ekaansharora +- elanis +- elylucas +- emzoumpo +- engpetermwangi +- ericschn +- faergeek +- FilipJirsak +- focusotter +- foxscotch +- frontsideair +- fyzhu +- fz6m +- gaspard +- Geist5000 +- gesposito +- gianlucca +- gijo-varghese +- goldins +- goodrone +- gowthamvbhat +- GraxMonzo +- GuptaSiddhant +- haivuw +- hernanif1 +- holynewbie +- hongji00 +- hsbtr +- hyesungoh +- iamnishanth +- ianflynnwork +- IbraRouisDev +- igniscyan +- imjordanxd +- infoxicator +- IsaiStormBlesed +- Isammoc +- istarkov +- ivanjeremic +- ivanjonas +- Ivanrenes +- JackPriceBurns +- jacob-ebey +- JaffParker +- jakkku +- JakubDrozd +- jamesrwilliams +- janpaepke +- jasikpark +- jasonpaulos +- jb-1980 +- jdufresne +- jenseng +- JeraldVin +- JesusTheHun +- jimniels +- jmargeta +- johnpangalos +- jonkoops +- jrakotoharisoa +- juanpprieto +- jungwoo3490 +- kachun333 +- Kakamotobi +- kantuni +- kapil-patel +- kapilepatel +- KaranRandhir +- kark +- KAROTT7 +- kddnewton +- kentcdodds +- kiliman +- kkirsche +- kno-raziel +- koojaa +- KostiantynPopovych +- KubasuIvanSakwa +- KutnerUri +- kylegirard +- landisdesign +- latin-1 +- lequangdongg +- liuhanqu +- lkwr +- lopezac +- lordofthecactus +- LordThi +- louis-young +- loun4 +- lounsbrough +- lpaube +- lqze +- lukerSpringTree +- m-dad +- m-shojaei +- machour +- Manc +- manzano78 +- marc2332 +- markdalgleish +- markivancho +- maruffahmed +- marvinruder +- mathpaquette +- matt-harro +- maxpou +- mcansh +- MeatSim +- MenouerBetty +- mfijas +- MichaelDeBoey +- michal-antczak +- mikib0 +- minami-minami +- minthulim +- mjackson +- mlewando +- modex98 +- morleytatro +- ms10596 +- mspiess +- mtendekuyokwa19 +- mtliendo +- ned-park +- nikeee +- nilubisan +- Nismit +- nnhjs +- noisypigeon +- Nurai1 +- Obi-Dann +- OlegDev1 +- omahs +- omar-moquete +- OnurGvnc +- p13i +- parched +- parveen232 +- paulsmithkc +- pavsoldatov +- pcattori +- petersendidit +- printfn +- promet99 +- proshunsuke +- pyitphyoaung +- refusado +- reyronald +- rifaidev +- rimian +- robbtraister +- RobHannay +- robinvdvleuten +- rtmann +- rubeonline +- ryanflorence +- ryanhiebert +- saengmotmi +- sanketshah19 +- saul-atomrigs +- sbolel +- scarf005 +- sealer3 +- senseibarni +- sergiodxa +- serranoarevalo +- sgalhs +- sgrishchenko +- shamsup +- shihanng +- shivamsinghchahar +- SimenB +- SkayuX +- skratchdot +- smithki +- soartec-lab +- sorrycc +- souzasmatheus +- srmagura +- SsongQ-92 +- stasundr +- stmtk1 +- sukvvon +- swalker326 +- tanayv +- thecode00 +- theostavrides +- thepedroferrari +- thethmuu +- thisiskartik +- thomasverleye +- ThornWu +- tiborbarsi +- timdorr +- TkDodo +- tkindy +- tlinhart +- tom-sherman +- tomasr8 +- tony-sn +- TooTallNate +- tosinamuda +- triangularcube +- trungpv1601 +- ttys026 +- Tumas2 +- turansky +- tyankatsu0105 +- underager +- valerii15298 +- ValiantCat +- vdusart +- vijaypushkin +- vikingviolinist +- vishwast03 +- vitekzach +- vonagam +- WalkAlone0325 +- whxhlgy +- willemarcel +- williamsdyyz +- willsawyerrrr +- xavier-lc +- xcsnowcity +- yionr +- yracnet +- ytori +- yuleicul +- zeromask1337 +- zheng-chuang +- AlemTuzlak \ No newline at end of file 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