twgl.js
twgl.js copied to clipboard
ES2015 build
I just noticed that the current builds of TWGL are featuring ES6 syntax, do you think it would be possible to generate pure ES5 files suitable for distribution? Some browsers like iOS Safari sometimes have relatively patchy support for ES6.
Sorry about that, should be fixed in 4.8.2
Wow, that was fast! The only problem I see now is that there is trailing ;
in the build https://github.com/greggman/twgl.js/blob/master/dist/4.x/twgl-full.js#L10439. Not sure why that is, but it makes the module a statement as opposed to an expression, which cause some problems. Is there a configuration option to remove it?