UNPKG

341 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.default = ({ functions }) => {
4 return functions
5 .map(Object.keys)
6 .map(func => `
7const ${func} = require("./${func}").default;
8module.exports[${func}.functionName] = ${func}.functionType.call(${func}.action);
9`)
10 .join('\n');
11};