poly-mini-game
poly-mini-game copied to clipboard
IE 11 support
Hi Jecelyn Yeen, Thanks for this sample project, I came across this when I was trying out Polymer 3 with Typescript. I am trying to get this to work with IE11, but was not having much luck. as Typescript is compiled down to ES6 modules and transpiled to eS6, arrow functions are not supported by IE11 by default.
I tried, to use,
- Babel-loader
- Babel-polyFill and presets,
however, I dont seem to get it right for IE 11.
I wonder if you can help/add support for IE11 on this project to help figure out what would be needed to make this game work on IE11?
Your help would be much appreciated.
Hi @chybie
I've created a cut-down version of the issue here: github.com/mcalthrop/polymer3-typescript-ie11.
For some reason arrow functions are not being transpiled into ES5, and IE11 does not support arrow functions, so it throws an error.
I am sure the issue must be easily fixable, but can't figure it out!
kind regards
Matt