Files: 287443e145387316a3a84068c22b27597f8d9c42 / build.js
267 bytesRaw
1 | |
2 | console.log( |
3 | 'module.exports = [\n', |
4 | require('fs').readdirSync(require('path').join(__dirname, 'modules')) |
5 | .filter(function (file) { |
6 | return file !== 'index.js' |
7 | }) |
8 | .map(function (file) { |
9 | return " require('./"+file+"')" |
10 | }).join(',\n'), |
11 | '\n]' |
12 | ) |
13 | |
14 |
Built with git-ssb-web