Files: 4eca0ed30e252fb6ab238b16b95d660c239aacca / index.js
281 bytesRaw
1 | const bulk = require('bulk-require') |
2 | |
3 | const modules = bulk(__dirname, ['!(node_modules|test|util)/**/*.js'], { |
4 | require: function (module) { |
5 | return module.match(/(.*.test.js$)/) ? null : require(module) |
6 | } |
7 | }) |
8 | |
9 | module.exports = Object.assign({}, |
10 | { 'patchbook': modules } |
11 | ) |
12 | |
13 |
Built with git-ssb-web