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 */
  }
}

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i use-cache-loader

    Weekly Downloads

    7

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • towry