Open verydanny opened 5 years ago
@verydanny
Looking at the source of fast-async 7.0.6 it seems that the options sub-object which used to be housed under the compilers
option should now go under an as-of-yet not documented codeGenerationOptions
option:
Don't bother fixing up your configuration. It more than likely won't help getting your code to compile correctly. fast-async@7
seems broken and will generate code that uses generator functions, even if explicitly told not to. See #67
EDIT: No wait; that's my bad. Messed up Babel configuration was not tearing out the entire async-to-generator transformation.
Package.json
My
babel.config.js
:Snippet of code:
Out:
{ compiler: { promises: false }}
Out:
{ compiler: { promises: true }}
Same as aboveIs fast-async only spec now? None of the setting seem to impact anything. Does the documentation need to be updated? Thanks