2 changed files with 13 additions and 11 deletions
@ -1,10 +1,12 @@ |
|||
'use strict' |
|||
|
|||
const { EOL } = require('os') |
|||
|
|||
function plugins() { |
|||
const { plugins } = require('../config') |
|||
plugins.forEach(plugin => { |
|||
require('../plugins/' + plugin + '/main.js') |
|||
console.log(`Loaded plugin ${plugin}...`) |
|||
console.log(EOL + 'Loaded plugin ' + plugin + '...') |
|||
}) |
|||
} |
|||
|
Loading…
Reference in new issue