webpack-hash-cache

0.4.6 • Public • Published

HashCachePlugin

An experimental incremental build plugin for Webpack.

Incremental builds increase the speed of the development workflow by avoiding rebuilding unchanged entries. However, in large projects, the caching process can be expensive. HashCachePlugin uses Rust for resource-intensive caching, which accelerates the caching process.

Built with napi-rs!

Installation

yarn add -D webpack-hash-cache
npm install --save-dev webpack-hash-cache

Usage

import { HashCachePlugin } from 'webpack-hash-cache';

Add instance to the plugins array in webpack config:

plugins: [
    new HashCachePlugin()
]

Currently, you must specify a cache directory, either as an environment variable, CACHE_DIR, or as an option passed to plugin constructor.

Readme

Keywords

none

Package Sidebar

Install

npm i webpack-hash-cache

Weekly Downloads

1

Version

0.4.6

License

MIT

Unpacked Size

19.1 kB

Total Files

10

Last publish

Collaborators

  • terribledev
  • colinfruit