Files: c8f38fdc12fc63564d14f8dc103917bdbbfcadcd / app / services / index.js
277 bytesRaw
1 | const bulk = require('bulk-require') |
2 | import { map } from 'ramda' |
3 | |
4 | export default { |
5 | ...map( |
6 | (module) => m.service.default, |
7 | bulk(__dirname, '*/service.js') |
8 | ), |
9 | ...map( |
10 | (module) => module.services.map(m => m.default), |
11 | bulk(__dirname, '*/services/*.js') |
12 | ) |
13 | } |
14 |
Built with git-ssb-web