mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00: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)
|
|
}
|
|
}
|