@backpackjs/netlify-backpack-cache
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

netlify-backpack-cache

A netlify plugin that handles caching of backpack json files and storefront's workspace folders copying (temporarily) between netlify build.

This plugin is must run before @netlify/plugin-nextjs to ensure the .next & public folders are in the root where netlify-plugin-nextjs expect them

Caching

  • .next: NextJs build folder (optional)
  • public/json/**: Products, collections json files (optional)
  • transforms/manifest.json: Transforms integrity manifest.json (optional)

Storefront workspace nextjs folders copying to the root

  • storefront/.next
  • storefront/public

This project started as a fork of netlify-cache-nextjs. So, credits to jonahsnider


Readme

Keywords

none

Package Sidebar

Install

npm i @backpackjs/netlify-backpack-cache

Weekly Downloads

3

Version

1.2.3

License

MIT

Unpacked Size

7.86 kB

Total Files

5

Last publish

Collaborators

  • eli-nessa
  • thiagovilla
  • jasonredick
  • sg-packdigital
  • corycummings
  • aaronescalona
  • tshamz
  • jeremyagabriel
  • anguy95