UNPKG

@gravity-ui/uikit

Version:

Gravity UI base styling and components

14 lines (13 loc) 387 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.warnOnce = warnOnce; const didWarn = new Map(); function warnOnce(msg) { if (!msg || didWarn.has(msg) || process.env.NODE_ENV === 'production') { return; } // eslint-disable-next-line no-console console.error(msg); didWarn.set(msg, true); } //# sourceMappingURL=warn.js.map