Are you on Firefox by chance? I discovered this week that Firefox doesn&#x27;t do ES6 on included &lt;script&gt; files unless you specify an explicit content type enabling it (which in turn breaks things on all other browsers).