Files: f98a6d9bdd5cd5d9f01b1677573a1c5f7390376d / 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