use-cache-loader

1.1.0 • Public • Published

use cache file loader for webpack

A simple webpack loader to use cache file.

Install

npm install use-cache-loader --save-dev

Usage

{
  loader: 'use-cache-loader',
  options: {
    cacheFolder: 'your-path-to-cache-folder',
    getCachePath: function (resourcePath, contextDir) { }, /* optional, to get the cache file path */
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i use-cache-loader

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • towry