Files: 99bc16e5212f7086422943407911f7c31443ab4c / 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