UNPKG

infrastructure-components

Version:

Infrastructure-Components configure the infrastructure of your React-App as part of your React-Components.

21 lines (16 loc) 504 B
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, global.invariant = factory()); }(this, function () { 'use strict'; var prefix = 'Invariant failed'; function invariant(condition, message) { if (condition) { return; } { throw new Error(prefix + ": " + (message || '')); } } return invariant; }));