I solved it with a hack in the embedding HTML:
<script> var exports = {}; </script>
<script src="https://stackoverflow.com/questions/42497479/index.js"></script>
Basically giving it what it wants, a global exports variable.
With that my TypeScript (2.3.2) generated file (es6) loads.