Next.js Discord

Discord Forum

"It looks like there is a custom Babel configuration can be removed ."

Answered
Saltwater Crocodile posted this in #help-forum
Open in Discord
Saltwater CrocodileOP
On my server I used to have a .babelrc file to disable @next/swc, because it wouldn't run on CentOS 7.
Apparently this is no longer needed now in Next.js 13, but the message warning users about it looks extremely unprofessional.

"It looks like there is a custom Babel configuration can be removed ."

Not only is the grammar off, there's also a weird space before the final dot.
Can someone who's already working on the codebase submit a pull request?
I would love to do it myself, but I wouldn't know where to start.

The exact file in the repo containing the message string is:
next.js/packages/next/src/build/babel/loader/get-config.ts

3 Replies