Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
padmaia committed Feb 9, 2022
1 parent f6d8881 commit 6a744cf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/next/build/webpack-config.ts
Expand Up @@ -437,11 +437,7 @@ export default async function getBaseWebpackConfig(
loggedSwcDisabled = true
}

if (
!loggedIgnoredCompilerOptions &&
!useSWCLoader &&
config.compiler
) {
if (!loggedIgnoredCompilerOptions && !useSWCLoader && config.compiler) {
Log.info(
'`compiler` options in `next.config.js` will be ignored while using Babel https://next.js.org/docs/messages/ignored-compiler-options'
)
Expand Down

0 comments on commit 6a744cf

Please sign in to comment.