Closed binarykitchen closed 7 years ago
nodent is not intended to transform generators code (only async/await).
While nodent can transform async/await to generators, it is not recommended in the doc as the performance is quite poor.
If you want to "polyfill" generators, you should have a look at regenerator. There is even a rollup plugin (note that I haven't tested it).
ah, cool, thanks for the links!
Would be great since buble doesn't support that yet and makes it hard for me to use with rollupjs in my branch.