未验证 提交 1603b202 编写于 作者: J Joe Haddad 提交者: GitHub

Better debug build message (#6915)

* Output a more correct message for debug builds

* Adjust wording
上级 96fe5afe
......@@ -67,7 +67,11 @@ export default async function build(
process.env.__NEXT_BUILDER_EXPERIMENTAL_DEBUG === 'true' ||
process.env.__NEXT_BUILDER_EXPERIMENTAL_DEBUG === '1'
console.log('Creating an optimized production build ...')
console.log(
debug
? 'Creating a development build ...'
: 'Creating an optimized production build ...'
)
console.log()
const config = loadConfig(PHASE_PRODUCTION_BUILD, dir, conf)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册