/*
 * 注意：目前不支持export default
 *
 * 使用：React.$xxxx'
 */
import * as https from './https';
import * as other from './other';
import * as packaging from './packaging';
import * as dataProcessing from './dataProcessing';

export default {
    ...https,
    ...other,
    ...packaging,
    ...dataProcessing
};

// 由于vite不支持该导出方式，所以修改为传统的导出
// let publicMethod = {};

// const context = require.context('./', true, /\.js$/);

// publicMethod = context.keys()
//     .reduce((total, current) => {
//         const module = context(current);
//         total = {
//             ...total,
//             ...module
//         };
//         return total;
//     }, publicMethod);

// console.log(publicMethod);

// module.exports = publicMethod;