git ssb

0+

ev / microbay



forked from Dominic / patchbay

Tree: dd4bc213e0bccb92a0815d7a4e3c9d1894defd1f

Files: dd4bc213e0bccb92a0815d7a4e3c9d1894defd1f / build.js

325 bytesRaw
1
2console.log(
3 'module.exports = {\n'
4 +
5 require('fs').readdirSync(require('path').join(__dirname, 'modules'))
6 .filter(function (file) {
7 return file !== '_index.js' && /\.js$/.test(file)
8 })
9 .map(function (file) {
10 return ' '+JSON.stringify(file) + ": require('./"+file+"')"
11 }).join(',\n')
12 +
13 '\n}'
14)
15
16

Built with git-ssb-web