UNPKG

sdin

Version:

JavaScript package builder.

2 lines 1.09 kB
import s from"@babel/runtime/helpers/defineProperty";function o(e,t){var r,s=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,r)),s}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}import{filterNotNone as n}from"../utils/array";import{SdinAbstractModule as t}from"./abstract-module";class e extends t{constructor(t,e){super(t,e,"dts",""),this.includes=n(e.includes),this.excludes=n(e.excludes),this.datas=r(r(r({},this.parent.datas),this.params.datas),{},{SDIN_MODULE_ENV:"unknown",SDIN_MODULE_TYPE:this.type,SDIN_MODULE_MODE:this.mode,SDIN_MODULE_NAME:this.name})}}export{e as SdinDeclarationModule}; //# sourceMappingURL=declaration-module.js.map