I'm using babel 7.
In their docs they mention the new naming for plugin is with @babel/
prefix.
React-hot-loader babrlrc config recommendation is:
{
"plugins": ["react-hot-loader/babel"]
}
my .babelrc config is:
{
"presets": ["@babel/env", "@babel/react"],
"env": {
"development": {
"plugins": ["@babel/react-hot-loader"]
},
"production": {}
}
}
Is it correct to assume that @babel/react-hot-loader
is correct definision?
I could not find any more docs about it.