Per T194098, the more RL modules there are, the larger the startup module, the slower performance, so we want to minimise this.
MobileFrontend currently has 58 resource loader modules.
Special page modules prefixed `mobile.special.` are out of scope. If we take these along with icons and images out of the equation we are left with 26 modules.
They are:
resources/mobile.categories.overlays
resources/mobile.editor.api
resources/mobile.editor.common
resources/mobile.editor.overlay
resources/mobile.editor.ve
resources/mobile.foreignApi
resources/mobile.gallery
resources/mobile.init
resources/mobile.languages.structured
resources/mobile.mediaViewer
resources/mobile.messageBox
resources/mobile.nearby
resources/mobile.notifications.overlay
resources/mobile.pagelist.scripts
resources/mobile.references
resources/mobile.references.gateway
resources/mobile.scrollEndEventEmitter
resources/mobile.search
resources/mobile.search.api
resources/mobile.search.util
resources/mobile.startup
resources/mobile.talk.overlays
resources/mobile.toc
resources/mobile.toggle
resources/mobile.watchlist
resources/mobile.watchstar
Many of these relate to client side code which has been working around the lack of a module loading system.
We should aim to reduce the amount of these modules.