mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
565bb5790b
In order to warn the user, now we are using a warn function which is located in the lib/utils module.
6 lines
113 B
JavaScript
6 lines
113 B
JavaScript
export function warn (message) {
|
|
if (process.env.NODE_ENV !== 'production') {
|
|
console.error(message)
|
|
}
|
|
}
|