This task encompasses the work to Webpackify the mediawikit.template.hogan module across two patches:
- Split out the mobile.runtime build product to a distinct module
- Pack mediawikit.template.hogan with Hogan v2.0.0. Unlike other modules, the new module should not export Hogan itself since its side-effect only and all usages are via mw.template, and doing so would inhibit Webpack's ability to optimize outputs.
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MobileFrontend/+/461470
= Developer notes
The introduction of any module to MobileFrontend will be met with suspicion by the performance team. Ideally any change here should not increase the number of ResourceLoader modules (or should be done at a time when MobileFrontend has far less than the current [[ https://www.mediawiki.org/wiki/Reading/Web/Projects/Invest_in_the_MobileFrontend_%26_MinervaNeue_frontend_architecture/Progress?useskin=vector | 60 ]]).