warn.js 262 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 /** @deprecated Use `warning` instead. This will be removed in next major version */ export default function warn(msg) { if (process.env.NODE_ENV !== 'production') { if (typeof console !== 'undefined' && console.warn) { console.warn(msg); } } }