Skip to content

'@babel/register' not caching plugins and presets correctly #11650

Answered by nicolo-ribaudo
pbadenski asked this question in Q&A
Discussion options

You must be logged in to vote

The problem is that we still need to resolve the plugins every time. If you use require("plugin name") instead of just "plugin name" in your config, you might get a good perf boost because you completely skip Babel's resolution.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nicolo-ribaudo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants