build-config/fragments/plugins.js
function buildPluginEntry(plugins) {
    const result = {};
    plugins.forEach(
        plugin =>
            (result[path.basename(plugin, '.js')] = path.join(
                pluginSrcDir,
                plugin
            ))
    );
    return result;
}
function buildPluginEntry(plugins) {
    const result = {};
    plugins.forEach(
        plugin =>
            (result[path.basename(plugin, '.js')] = path.join(
                pluginSrcDir,
                plugin
            ))
    );
    return result;
}
function buildPluginEntry ( plugins ) { const result = { } ; plugins . forEach ( plugin => ( result [ path . basename ( plugin , '.js' ) ] = path . join ( pluginSrcDir , plugin ) ) ) ; return result ; }
buildPluginEntry - Description

@param {Array} plugins Name of plugins in src/plugin

@returns {object} Entry object { name: nameUrl }
buildPluginEntry - Description