Import ES6 modules

How to force Haxe to bind js modules using an import operator, instead of a function require?

You can use genes, although that might be overdoing it.

Other than that, here’s a more lightweight approach, that might also do the job for you:


Thank you, master! Your jsImport library is sufficient to solve my problem.