(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; }));