scripts/build/bundler.js/checkCache
async function checkCache(cache, inputOptions, outputOption) {
  const useCache = await cache.checkBundle(
    outputOption.file,
    inputOptions,
    outputOption
  );

  if (useCache) {
    try {
      await execa("cp", [
        path.join(cache.cacheDir, outputOption.file.replace("dist", "files")),
        outputOption.file,
      ]);
      return true;
    } catch (err) {
      console.log(err);
      // Proceed to build
    }
  }

  return false;
}