From f8e66610b65ba1712b4325daa5e2e24354a019b9 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Sat, 6 Nov 2021 19:37:24 +0100 Subject: [PATCH] Change disabled SWC message to Log.info (#31091) Based on feedback from @flybayer, this changes the `warn - ` to `info -` for the "Disabled SWC" message. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint` --- packages/next/build/webpack-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index 71174550d9c0..730856f88af2 100644 --- a/packages/next/build/webpack-config.ts +++ b/packages/next/build/webpack-config.ts @@ -452,7 +452,7 @@ export default async function getBaseWebpackConfig( let useSWCLoader = !babelConfigFile if (!loggedSwcDisabled && !useSWCLoader && babelConfigFile) { - Log.warn( + Log.info( `Disabled SWC as replacement for Babel because of custom Babel configuration "${path.relative( dir, babelConfigFile