UNPKG

@autopack/cpack

Version:

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

7 lines 960 B
/*! * @autopack/cpack with v1.0.3 * Author: yanpanmichael * Built on 2023-07-27, 23:58:47 * Released under the MIT License Copyright (c) 2023 */ import{__decorate as t}from"tslib";import n from"lodash";function i(t){return t.prototype.addFunc=function(){return"i am addFunc"},t}var o=function(){function n(t,n,i){void 0===t&&(t=2),void 0===n&&(n=3),void 0===i&&(i=3),this.def=0,this.atk=0,this.hp=0,this.init(t,n,i)}var o;return n.prototype.init=function(t,n,i){this.def=t,this.atk=n,this.hp=i},n.prototype.toString=function(){return"\u9632\u5fa1\u529b:".concat(this.def,",\u653b\u51fb\u529b:").concat(this.atk,",\u8840\u91cf:").concat(this.hp)},t([(o=20,function(t,n){var i=n.value,r=o||100;return n.value=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return n[0]+=r,i.apply(t,n)},n})],n.prototype,"init",null),n=t([i],n)}(),r=new function(){this.a="ttt"},a=new o,e=void n.assign({},{name:"test"});export{r as c,e as default,a as tony};