Rolling back since its not needed

This commit is contained in:
Belen Curcio
2017-04-06 19:44:26 -03:00
parent 8b9e69e8a6
commit 5245dfaef9
@@ -18,11 +18,14 @@ module.exports = function(source) {
const config = this.exec(source, this.resourcePath);
const plugins = getPluginList(config);
plugins.map(plugin => `{module: require('plugins/${plugin}/client/index.js'), plugin: '${plugin}'}`);
const list = [];
plugins.forEach(plugin => {
list.push(`{module: require('plugins/${plugin}/client/index.js'), plugin: '${plugin}'}`);
});
return stripIndent`
module.exports = [
${plugins.join(',')}
${list.join(',')}
];
`;
};