Add routes.ts
support behind future flag
#10107
Merged
routes.ts
support behind future flag
#10107