1.0.3 • Published 4 years ago

@national-digital/gridsome-plugin-keep-processed-images v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Gridsome Plugin: Keep Processed Images

Gridsome plugin that speeds up build time on projects involving images by preventing that images get processed (resized, cropped etc) over and over again.

It does so by keeping a fresh copy of processed images on the .cache directory and moving the images back to dist diretory before the new build is executed. The image-processor worker will not process images that already exist on dist.

Install

yarn add @national-digital/gridsome-plugin-keep-processed-images
npm install @national-digital/gridsome-plugin-keep-processed-images

Usage

module.exports = {
  siteName: "Gridsome",
  plugins: [
    {
      use: "@national-digital/gridsome-plugin-keep-processed-images",
    },
  ],
};
1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago