UNPKG

@autopack/cpack

Version:

📦 基于rollup的JS、TS包构建工具 | One common construction and package tool for JS/TS components based on Rollup 📦

7 lines 1.38 kB
/*! * @autopack/cpack with v1.0.3 * Author: yanpanmichael * Built on 2023-07-27, 23:58:47 * Released under the MIT License Copyright (c) 2023 */ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("lodash");function e(t,e,n,r){var o,i=arguments.length,c=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(c=(i<3?o(c):i>3?o(e,n,c):o(e,n))||c);return i>3&&c&&Object.defineProperty(e,n,c),c}function n(t){return t.prototype.addFunc=function(){return"i am addFunc"},t}"function"==typeof SuppressedError&&SuppressedError;var r=function(){function t(t,e,n){void 0===t&&(t=2),void 0===e&&(e=3),void 0===n&&(n=3),this.def=0,this.atk=0,this.hp=0,this.init(t,e,n)}var r;return t.prototype.init=function(t,e,n){this.def=t,this.atk=e,this.hp=n},t.prototype.toString=function(){return"\u9632\u5fa1\u529b:".concat(this.def,",\u653b\u51fb\u529b:").concat(this.atk,",\u8840\u91cf:").concat(this.hp)},e([(r=20,function(t,e){var n=e.value,o=r||100;return e.value=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e[0]+=o,n.apply(t,e)},e})],t.prototype,"init",null),t=e([n],t)}(),o=new function(){this.a="ttt"},i=new r,c=void t.assign({},{name:"test"});exports.c=o,exports.default=c,exports.tony=i;