Modules with ES7 and Babel


Last year the new version of JavaScript was released and it gave us a lot of new goodies. Amongst those was syntax for importing and exporting of modules which finally codified "the only way" to do modules in JavaScript. Or well, eventually. Another nice thing is that it's specced in such a way that you can statically analyze the whole module dependency tree. Pretty awesome.

This blog post was written for a client. You can read the entire blog post on their website,