siakaramalegos / netlify-plugin-cache-folder

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

Home Page:https://www.npmjs.com/package/netlify-plugin-cache-folder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"

About

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

https://www.npmjs.com/package/netlify-plugin-cache-folder

License:MIT License


Languages

Language:JavaScript 100.0%