export {
loader$1 as loader,
make,
$$default as default,
}
This is the final output generated by Rescript.
When I changed the js file to export const loader = XXX, export default XXX
It started up normally when running in dev mode using the React Router CLI.