interlockjs / interlock

JS bundler - inspired by Git, built on Babel.
MIT License
72 stars 7 forks source link

Add flow infrastructure #70

Closed divmain closed 8 years ago

divmain commented 8 years ago

Because pluggables add a layer of indirection, Flow has trouble inferring the argument and function types of the compilation functions. One option would be to introduce a babel plugin that transforms normal functions into pluggable functions, given some sort of annotation. This would add a lot of magic, however, which is a significant downside.

Going to table this for now and revisit if something changes.