rsnext/lib/utils.js
Arunoda Susiripala 565bb5790b Update url.pushTo and url.replaceTo update only on dev. (#434)
In order to warn the user, now we are using a warn function
which is located in the lib/utils module.
2016-12-19 13:04:38 -08:00

5 lines
113 B
JavaScript

export function warn (message) {
if (process.env.NODE_ENV !== 'production') {
console.error(message)
}
}