scripts/vendors/bundle-vendors.mjs/main
async function main() {
  await clean();

  const licenses = [];
  for (const vendor of vendors) {
    await bundle(vendor, {
      onLicenseFound(dependencies) {
        licenses.push(...dependencies);
      },
    });
    console.log(`Bundled: ${vendor}`);
  }

  await saveVendorLicenses(licenses);
  console.log("Vendor licenses saved");

  await fs.writeFile(
    path.join(vendorsDirectory, "README.md"),
    outdent`
      # \`./vendors\`

      **JavaScript Files that included in this directory are auto generated by [\`/scripts/vendor/bundle-vendors.mjs\`](../scripts/vendors/bundle-vendors.mjs).**

      See [\`/scripts/vendors/README.md\`](../scripts/vendors/README.md) for the context.
    ` + "\n"
  );
  console.log("`README.md` file saved");
}