ES2015 modules do not take HTML&#x2F;host environment into consideration. There is still some spec work missing there.<p>See <a href="https:&#x2F;&#x2F;groups.google.com&#x2F;a&#x2F;chromium.org&#x2F;forum&#x2F;#!searchin&#x2F;blink-dev&#x2F;$20Intent$20to$20Implement$3A$20%3Cscript$20type$3D%22module%22%3E&#x2F;blink-dev&#x2F;uba6pMr-jec&#x2F;tXdg6YYPBAAJ" rel="nofollow">https:&#x2F;&#x2F;groups.google.com&#x2F;a&#x2F;chromium.org&#x2F;forum&#x2F;#!searchin&#x2F;bl...</a> for more information.