# compile-lock-webpack-plugin

> Maintain a lock file during Webpack compilation

Latest version **1.1.0** (published 2018-05-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install compile-lock-webpack-plugin
pnpm add compile-lock-webpack-plugin
yarn add compile-lock-webpack-plugin
bun add compile-lock-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.1.0 |
| Published | 2018-05-02 |
| First published | 2017-04-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Skyler Lipthay |
| Maintainers | skylerlipthay |
| Keywords | webpack, plugin, compile, lock, file |

## Links

- npm: https://www.npmjs.com/package/compile-lock-webpack-plugin
- Repository: https://github.com/SkylerLipthay/compile-lock-webpack-plugin
- Issues: https://github.com/SkylerLipthay/compile-lock-webpack-plugin/issues
- npm.io page: https://npm.io/package/compile-lock-webpack-plugin

## Dependencies (1)

- [fs-extra](https://npm.io/package/fs-extra.md) ^6.0.0

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.1.0 (latest) — 2018-05-02
- 1.0.0 — 2017-04-14

## README

# Compile Lock Webpack Plugin

This is a simple [Webpack](http://webpack.github.io/) plugin that creates a lock file (an empty file) at a specified path when compilation starts, and deletes it after the compiled files have been emitted. This is particularly useful, for example, during development when using `webpack --watch` and a server that is configured to sleep as long as the lock file exists.

## Getting started

Install the plugin:

```
npm install --save-dev compile-lock-webpack-plugin
```

## Usage

`new CompileLockWebpackPlugin(path)`

`path` is a required string that specifies the desired path at which the lock file should be maintained.

## License

MIT

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