Are transform-runtime and regenerator-runtime meant to be used together? #13004
Answered
by
nicolo-ribaudo
JoshRobertson
asked this question in
Q&A
-
Consider a babel config
relevant package.json
and a top-level polyfill file
is this the right approach for |
Beta Was this translation helpful? Give feedback.
Answered by
nicolo-ribaudo
Mar 16, 2021
Replies: 1 comment 2 replies
-
Using both doesn't cause problems, but it's not necessary. If you use |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
JoshRobertson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using both doesn't cause problems, but it's not necessary.
If you use
@babel/plugin-transform-runtime
, you can remove theregenerator-runtime/runtime
import since it will be automatically loaded from@babel/runtime
when needed.