HomePhabricator

Explicitly define module position

Authored by Gilles.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Explicitly define module position

Style modules currently added through addModuleStyles default
to being in the head ("top" position). This is an unhealthy default,
since only critical styles that are needed at pageload should be
in the head. In order to be able to switch the default to "bottom",
existing module positions have to be defined explicitly.

Bug: T97410
Change-Id: Ie120a781ac1950abd7963d6f722aa316b5542b51
(cherry picked from commits 58c81408f5da6a3e91d9875b62a47d0eeca543d4
and 097fc9069ae4211cec4276d75e36f40d107faf1d)

Details