index.js 125 B

1234567
  1. export default [
  2. "default",
  3. "fake"
  4. ].reduce((acc,item)=> {
  5. acc[item] = require('./' + item).default;
  6. return acc;
  7. },{});