Closed AndrewRayCode closed 7 years ago
I guess an option could be added to import the function instead
Hi, sorry for taking so long to respond to this, this project is now deprecated in favour of https://codemix.github.io/flow-runtime which aims for full compatibility with Flow.
babel-plugin-flow-runtime
depends on the flow-runtime
library, so this madness doesn't occur.
I was inspecting my webpack bundle (in dev mode), and noticed these lines repeated over and over and over:
They appear the be coming from this plugin. Is it a bug that these lines are duplicated? Could this function simply be declared in one place and re-used?