import { remixRoutesOptionAdapter } from '@react-router/remix-routes-option-adapter'
import { flatRoutes } from 'remix-flat-routes'

const routes = remixRoutesOptionAdapter(defineRoutes => {
    return flatRoutes('routes', defineRoutes, {
        ignoredRouteFiles: ['**/.*'],
    })
})

export default routes
