Unverified Commit fef3b8c2 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Update babel config found log to new logging output (#13550)

Updates the message to be in line with .env loading.
parent 0199d006
import babelLoader from 'next/dist/compiled/babel-loader'
import hash from 'next/dist/compiled/string-hash'
import { basename, join } from 'path'
import * as Log from '../../output/log'
// increment 'm' to invalidate cache
// eslint-disable-next-line no-useless-concat
......@@ -124,8 +125,7 @@ module.exports = babelLoader.custom((babel) => {
// We only log for client compilation otherwise there will be double output
if (file && !isServer && !configs.has(file)) {
configs.add(file)
console.log(`> Using external babel configuration`)
console.log(`> Location: "${file}"`)
Log.info(`Using external babel configuration from ${file}`)
}
}
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment