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