Napisałem mega prosty skrypt, spróbuj dodać go do shella index.html przed zamknięciem taga </body>:
<script>
(function (window, DOM) {
'use strict'
var vp = getMetaViewport()
window.addEventListener('resize', updateMetaViewport)
updateMetaViewport()
function getMetaViewport() {
var meta = DOM.querySelector('meta[name="viewport"]')
if (!meta) {
meta = DOM.createElement('meta')
meta.name = 'viewport'
DOM.head.appendChild(meta)
}
return meta
}
function updateMetaViewport() {
var width = window.innerWidth * window.devicePixelRatio
vp.content = 'width=' + width + ', initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no'
}
})(window, document);
</script>