code: function copyVendors(vendorFolder, targetFolder, serverless) {
    // Create target folder if it does not exist
    fse.ensureDirSync(targetFolder);
  
    serverless.cli.log(
      `Copying vendor libraries from ${vendorFolder} to ${targetFolder}...`
    );
  
    fse.readdirSync(vendorFolder).map(file => {
      let source = path.join(vendorFolder, file);
      let dest = path.join(targetFolder, file);
      if (fse.existsSync(dest)) {
        rimraf.sync(dest);
      }
      fse.copySync(source, dest);
    });
  }
docs: Copy everything from vendorFolder to targetFolder
  @param {string} vendorFolder
  @param {string} targetFolder
  @param {Object} serverless
  @return {undefined}