2017-01-12 19:50:06 -08:00
|
|
|
let opts = {
|
2017-05-29 10:22:14 -07:00
|
|
|
dirname: __dirname + '/src',
|
2017-05-25 09:56:34 -07:00
|
|
|
// http://stackoverflow.com/questions/2078915/a-regular-expression-to-exclude-a-word-string
|
|
|
|
filter: /^(?!index)([^\.].*)\.js?$/,
|
|
|
|
recursive: false,
|
|
|
|
merge: true // remove or comment to have each file in /lib be a prop/key in library...see node-require-all
|
2017-01-12 19:50:06 -08:00
|
|
|
}
|
2017-05-25 09:56:34 -07:00
|
|
|
module.exports = require('@uci/require-all')(opts)
|