function (name) {
    var destPath = configHelpers.modulePath(name);
    var sourcePath = pathExtra.join(__dirname, '..', 'node_modules', name);

    if (!fs.existsSync(destPath)) {
      fs.copySync(sourcePath, destPath);
    }
  }
function (name) {
    var destPath = configHelpers.modulePath(name);
    var sourcePath = pathExtra.join(__dirname, '..', 'node_modules', name);

    if (!fs.existsSync(destPath)) {
      fs.copySync(sourcePath, destPath);
    }
  }
function ( name ) { var destPath = configHelpers . modulePath ( name ) ; var sourcePath = pathExtra . join ( __dirname , '..' , 'node_modules' , name ) ; if ( ! fs . existsSync ( destPath ) ) { fs . copySync ( sourcePath , destPath ) ; } }
Copy given dependency to app folder to avoid apps to fetch and rebuild it
every time it's required as dependency.
Most dependencies are common and can be reused.
Copy given dependency to app folder to avoid apps to fetch and rebuild it every time it s required as dependency . Most dependencies are common and can be reused .