elsassph / haxe-modular

Haxe-JS code splitting, NPM dependencies bundling, hot-reload
116 stars 14 forks source link

Support Haxe ES6 output #97

Closed elsassph closed 4 years ago

elsassph commented 5 years ago

Implement #92 , support of -D js-es=6, which means generating modern ES6 code with class keyword and all.

To try it:

kLabz commented 5 years ago

I wanted to test this too but I still get this error from haxe compiler for fields initialization in react components :(

Must call `super()` constructor before accessing `this` in classes derived from an extern class with constructor