Improve grammar of removable Babel config warning (#55088)
The current warning is > It looks like there is a custom Babel configuration can be removed . which in this PR is updated to > It looks like there is a custom Babel configuration that can be removed. --- [Original bug found by @protehnica on the Next.js Discord:](https://discord.com/channels/752553802359505017/1148942305194152056) > 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```
Showing
Please
register
or
sign in
to comment