📅  最后修改于: 2022-03-11 15:03:15.607000             🧑  作者: Mango
// Create a .babelrc in your root folder adding this
{
"presets": ["next/babel"],
"plugins": []
}
// Then replace current code on .eslintrc with this
{
"extends": ["next/babel"]
}