INNER CODE UNIT · JavaScript

onPostBuild

felipefialho/felipefialho.com · netlify/plugins/astro-cache/index.js:9

export const onPostBuild = async ({ utils }) => {
  const saved = await utils.cache.save(CACHE_PATHS);
  console.log(saved ? 'Saved the Astro and OG caches' : 'Nothing to save in the Astro and OG caches');
};

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…