UNPKG

next

Version:

The React Framework

22 lines (21 loc) 479 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "errorOnce", { enumerable: true, get: function() { return errorOnce; } }); let errorOnce = (_)=>{}; if (process.env.NODE_ENV !== 'production') { const errors = new Set(); errorOnce = (msg)=>{ if (!errors.has(msg)) { console.error(msg); } errors.add(msg); }; } //# sourceMappingURL=error-once.js.map