# ignore-unchanged-webpack-plugin

> A Webpack plugin to not emitting unchanged files to the output path

Latest version **1.0.4** (published 2019-12-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install ignore-unchanged-webpack-plugin
pnpm add ignore-unchanged-webpack-plugin
yarn add ignore-unchanged-webpack-plugin
bun add ignore-unchanged-webpack-plugin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2019-12-09 |
| First published | 2017-12-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 8.9.0 |
| Dependencies | 4 |
| Unpacked size | 8.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Chua Kang Ming |
| Maintainers | kambing86 |
| Keywords | webpack |

## Links

- npm: https://www.npmjs.com/package/ignore-unchanged-webpack-plugin
- Repository: https://github.com/kambing86/ignore-unchanged-webpack-plugin
- Issues: https://github.com/kambing86/ignore-unchanged-webpack-plugin/issues
- npm.io page: https://npm.io/package/ignore-unchanged-webpack-plugin

## Dependencies (4)

- [async](https://npm.io/package/async.md) ^3.1.0
- [object-hash](https://npm.io/package/object-hash.md) ^2.0.1
- [loader-utils](https://npm.io/package/loader-utils.md) ^1.2.3
- [schema-utils](https://npm.io/package/schema-utils.md) ^2.6.1

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2019-12-09
- 1.0.3 — 2018-04-30
- 1.0.2 — 2017-12-28
- 1.0.1 — 2017-12-28

## README

<!-- [![npm][npm]][npm-url]
[![deps][deps]][deps-url]
[![test][test]][test-url]
[![coverage][cover]][cover-url]
[![chat][chat]][chat-url] -->

<div align="center">
  <!-- replace with accurate logo e.g from https://worldvectorlogo.com/ -->
  <img width="200" height="200" src="https://cdn.worldvectorlogo.com/logos/javascript.svg">
  <a href="https://webpack.js.org/">
    <img width="200" height="200" vspace="" hspace="25" src="https://cdn.rawgit.com/webpack/media/e7485eb2/logo/icon-square-big.svg">
  </a>
  <h1>ignore-unchanged-webpack-plugin</h1>
  <p>A Webpack plugin to not emitting unchanged files to the output path</p>
</div>

<h2 align="center">Install</h2>

```bash
npm install --save-dev ignore-unchanged-webpack-plugin
```

<h2 align="center">Usage</h2>

### To build the bundle without overwriting the unchanged files

Overwriting the unchanged files will change the file modification time and can break caching mechanisms

<h2 align="center">Examples</h2>

**webpack.config.js**

```js
const IgnoreUnchangedFilesPlugin = require('ignore-unchanged-webpack-plugin');

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/,
        use: ExtractTextPlugin.extract({
          fallback: 'style-loader',
          use: 'css-loader',
        }),
      },
    ],
  },
  plugins: [new IgnoreUnchangedFilesPlugin()],
};
```

<h2 align="center">Maintainers</h2>

<table>
  <tbody>
    <tr>
      <td align="center">
        <a href="https://github.com/kambing86">
          <img width="150" height="150" src="https://avatars3.githubusercontent.com/u/1342133?s=460&v=4">
          </br>
          Chua Kang Ming
        </a>
      </td>
    </tr>
  <tbody>
</table>

<!-- [npm]: https://img.shields.io/npm/v/ignore-unchanged-webpack-plugin.svg
[npm-url]: https://npmjs.com/package/ignore-unchanged-webpack-plugin

[deps]: https://david-dm.org/webpack-contrib/ignore-unchanged-webpack-plugin.svg
[deps-url]: https://david-dm.org/webpack-contrib/ignore-unchanged-webpack-plugin

[chat]: https://img.shields.io/badge/gitter-webpack%2Fwebpack-brightgreen.svg
[chat-url]: https://gitter.im/webpack/webpack

[test]: http://img.shields.io/travis/webpack-contrib/ignore-unchanged-webpack-plugin.svg
[test-url]: https://travis-ci.org/webpack-contrib/ignore-unchanged-webpack-plugin

[cover]: https://codecov.io/gh/webpack-contrib/ignore-unchanged-webpack-plugin/branch/master/graph/badge.svg
[cover-url]: https://codecov.io/gh/webpack-contrib/ignore-unchanged-webpack-plugin -->

---
_Source: https://npm.io/package/ignore-unchanged-webpack-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
