Нашел ответ:
function toObject(paths) {
var ret = {};
paths.forEach(function(path) {
// you can define entry names mapped to [name] here
ret[path.split('/').slice(-2)[0]] = __dirname + "/" + path;
});
return ret;
}
let entry = Object.assign({}, {"gcore": path.resolve(main, 'src/main.js')}, toObject(glob.sync('src/skin/skin-*/*.js')))
webpackConfig.entry = entry;
Всем спасибо!:)