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: Ic3d188fe5a833a97027a06cd62c4acef691669bf
This commit is contained in:
Gilles Dubuc 2015-05-05 17:36:25 +02:00
parent 84fe083b72
commit d4fef458af
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@
},
"ResourceModules": {
"skins.vector.styles": {
"position": "top",
"styles": {
"screen.less": {
"media": "screen"