UNPKG

laif-ds

Version:

Design System di Laif con componenti React basati su principi di Atomic Design

16 lines (15 loc) 615 B
"use client"; var a = process.env.NODE_ENV !== "production", u = function(o, n) { for (var r = arguments.length, i = new Array(r > 2 ? r - 2 : 0), e = 2; e < r; e++) i[e - 2] = arguments[e]; if (a && typeof console < "u" && console.warn && (n === void 0 && console.warn("LogUtils requires an error message argument"), !o)) if (n === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."); else { var s = 0; console.warn(n.replace(/%s/g, () => i[s++])); } }; export { u as warn };