Open careyestes opened 5 years ago
Yes. The current code is written in modern javascript (ES6), we need to transpile for older browsers (I'm surprised IE Edge doesn't handle it..).
TODO: Babel (as rollup plugin) will solve this.
@oori, I see that babel is commented out in the rollup config file. Is this intentional? Will uncommenting the plugin fix?
Nope.. Using "rollup-plugin-babel" is the start, but requires more. Lack of time and need pushes this down on my TODO list, but I'll try to do it soon. PR welcome.
Load up https://etcdevteam.github.io/hashicon/examples/ in Edge or IE and you will see it doesnt load the icons. Ive implemented it using React and get a few js errors in the console.
Both the hashicon demo site and my localhost get this:
Will support for Edge and IE be added?