flems
flems copied to clipboard
regeneratorRuntime is not defined (with Babel-transpiled code that uses generators)
I don't know if Flems is supposed to work with IE11, but if it isn't you could just target ES6 with Babel...
I use Flems for IE11 tests sometimes, but not with Babel transpile enabled.
Would setting ES6 work for Babel fix this?
In that case It's probably a better tradeoff than not having generators work in modern browsers when Babel is active.
A third possibility would be to load said runtime, but I don't know how heavy it is, or if it can be done lazily.
I suppose that targeting ES6 would solve it, since it supports generators.