Router() base-path mounting middleware-order consistency across NODE_ENV
When an Express application uses router() to mount modular route definitions under a shared base path, the placement of application-level middleware relative to that mount point influences which handlers execute for inbound requests. The documented behavior states that middleware order determines pipeline execution, and that router() provides modular route d