Skip to content

Are transform-runtime and regenerator-runtime meant to be used together? #13004

Discussion options

You must be logged in to vote

Using both doesn't cause problems, but it's not necessary.

If you use @babel/plugin-transform-runtime, you can remove the regenerator-runtime/runtime import since it will be automatically loaded from @babel/runtime when needed.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sag1v
Comment options

@nyngwang
Comment options

Answer selected by JoshRobertson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants