Nicolas Bally 120e9803eb initial
2020-04-28 14:51:42 +02:00

6 lines
212 B
JavaScript

// Load all the channels within this directory and all subdirectories.
// Channel files must be named *_channel.js.
const channels = require.context('.', true, /_channel\.js$/)
channels.keys().forEach(channels)