/netlify-plugin-cache-folder

Netlify build plugin to cache the /_cache/ folder between builds

Primary LanguageJavaScriptMIT LicenseMIT

netlify-plugin-cache-folder

npm Netlify npm bundle size

This Netlify build plugin will cache the /_cache/ folder between builds.

Package-based Installation

These are the steps to add this plugin to your project. You can read more in the Netlify docs.

  1. Use npm, yarn, or any other Node.js package manager to add this plugin to the dev dependencies:
npm install -D netlify-plugin-cache-folder

or

yarn add -D netlify-plugin-cache-folder
  1. Create a netlify.toml file in the root of your project. Your file should include the plugins section below:
[build]
  command   = "npm run build"

[[plugins]]
  package = "netlify-plugin-cache-folder"