rollup-umd-scripts
Version:
CLI for rollup-umd projects
3 lines (2 loc) • 4.51 kB
JavaScript
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t["rollup-umd-scripts"]={})}(this,function(t){"use strict";function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function n(t,e){return t(e={exports:{}},e.exports),e.exports}var r=e(n(function(t,e){e.__esModule=!0,e.default=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}})),i=e(n(function(t,e){e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}})),u=n(function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}),o=n(function(t){var e=t.exports={version:"2.5.5"};"number"==typeof __e&&(__e=e)}),f=(o.version,function(t,e,n){if(function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!")}(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}),c=function(t){return"object"==typeof t?null!==t:"function"==typeof t},a=function(t){if(!c(t))throw TypeError(t+" is not an object!");return t},s=function(t){try{return!!t()}catch(t){return!0}},l=!s(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),p=u.document,d=c(p)&&c(p.createElement),y=!l&&!s(function(){return 7!=Object.defineProperty((t="div",d?p.createElement(t):{}),"a",{get:function(){return 7}}).a;var t}),v=Object.defineProperty,h={f:l?Object.defineProperty:function(t,e,n){if(a(t),e=function(t,e){if(!c(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!c(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!c(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!c(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}(e,!0),a(n),y)try{return v(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},b=l?function(t,e,n){return h.f(t,e,function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}(1,n))}:function(t,e,n){return t[e]=n,t},w={}.hasOwnProperty,_=function(t,e){return w.call(t,e)},g=function(t,e,n){var r,i,c,a=t&g.F,s=t&g.G,l=t&g.S,p=t&g.P,d=t&g.B,y=t&g.W,v=s?o:o[e]||(o[e]={}),h=v.prototype,w=s?u:l?u[e]:(u[e]||{}).prototype;for(r in s&&(n=e),n)(i=!a&&w&&void 0!==w[r])&&_(v,r)||(c=i?w[r]:n[r],v[r]=s&&"function"!=typeof w[r]?n[r]:d&&i?f(c,u):y&&w[r]==c?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(c):p&&"function"==typeof c?f(Function.call,c):c,p&&((v.virtual||(v.virtual={}))[r]=c,t&g.R&&h&&!h[r]&&b(h,r,c)))};g.F=1,g.G=2,g.S=4,g.P=8,g.B=16,g.W=32,g.U=64,g.R=128;var O=g;O(O.S+O.F*!l,"Object",{defineProperty:h.f});var S=o.Object,j=function(t,e,n){return S.defineProperty(t,e,n)},m=n(function(t){t.exports={default:j,__esModule:!0}});e(m);var A=e(n(function(t,e){e.__esModule=!0;var n,r=(n=m)&&n.__esModule?n:{default:n};e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,r.default)(t,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()})),P=function(){function t(){i(this,t),this.testAttribute="This is a test attribute",this.state={list:["a","b"],isSpreadActive:!0,isTestLiving:!0}}return A(t,[{key:"hasInList",value:function(t){return-1!==this.state.list.indexOf(t)}},{key:"getReplacedEnv",value:function(){return"production"}},{key:"getIsSpreadActive",value:function(){var t=this.state,e=t.isSpreadActive;r(t,["isSpreadActive"]);return e}},{key:"getRest",value:function(){var t=this.state;t.isSpreadActive;return r(t,["isSpreadActive"])}},{key:"getTestStatic",value:function(){return t.testStatic}},{key:"getTestAttribute",value:function(){return this.testAttribute}},{key:"setTestAttribute",value:function(t){this.testAttribute=t}}]),t}();P.testStatic="This is a static test",t.default=P,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=rollup-umd-scripts.min.js.map