Skip to content

Commit

Permalink
Change disabled SWC message to Log.info
Browse files Browse the repository at this point in the history
Based on feedback from @flybayer, this changes the `warn - ` to `info -` for the "Disabled SWC" message.
  • Loading branch information
timneutkens committed Nov 6, 2021
1 parent 5e185fc commit d7bc3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/build/webpack-config.ts
Expand Up @@ -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
Expand Down

0 comments on commit d7bc3da

Please sign in to comment.