# webpack-build-dll-plugin

> Simplifies run build DllReferencePlugin & DllPlugin for your webpack project

Latest version **1.3.6** (published 2021-09-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install webpack-build-dll-plugin
pnpm add webpack-build-dll-plugin
yarn add webpack-build-dll-plugin
bun add webpack-build-dll-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.3.6 |
| Published | 2021-09-07 |
| First published | 2017-03-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 14.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | myxvisual |
| Maintainers | ~myxvisual |
| Keywords | webpack, webpack plugin, dll, DllPlugin, DllReferencePlugin, webpack DllPlugin, webpack DllReferencePlugin |

## Links

- npm: https://www.npmjs.com/package/webpack-build-dll-plugin
- Repository: https://github.com/myxvisual/webpack-build-dll-plugin
- Homepage: https://github.com/myxvisual/webpack-build-dll-plugin#readme
- Issues: https://github.com/myxvisual/webpack-build-dll-plugin/issues
- npm.io page: https://npm.io/package/webpack-build-dll-plugin

## 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.3.6 (latest) — 2021-09-07
- 1.3.5 — 2021-09-07
- 1.3.4 — 2021-09-07
- 1.3.3 — 2020-02-14
- 1.3.2 — 2017-04-26
- 1.3.1 — 2017-04-26
- 1.3.0 — 2017-04-14
- 1.2.9 — 2017-03-27
- 1.2.8 — 2017-03-26
- 1.2.7 — 2017-03-06
- 1.2.6 — 2017-03-04
- 1.2.5 — 2017-03-04
- 1.2.4 — 2017-03-03
- 1.2.3 — 2017-03-03
- 1.2.2 — 2017-03-03
- … 21 more at https://npm.io/package/webpack-build-dll-plugin/versions

## README

[![npm](https://img.shields.io/npm/v/webpack-build-dll-plugin.svg)](https://www.npmjs.com/package/webpack-build-dll-plugin)
[![MIT Licence](https://img.shields.io/badge/licence-MIT-blue.svg)](https://opensource.org/licenses/mit-license.php) 
[![TypeScript](https://img.shields.io/badge/soucre-TypeScript-blue.svg)](https://github.com/myxvisual/webpack-build-dll-plugin)
[![npm](https://img.shields.io/npm/dm/webpack-build-dll-plugin.svg)](https://www.npmjs.com/package/webpack-build-dll-plugin)
[![npm](https://img.shields.io/badge/denpendencies-up--to--date-brightgreen.svg)](https://www.npmjs.com/package/webpack-build-dll-plugin)

Installation
------------
Install the plugin with npm:
```shell
$ npm i webpack-build-dll-plugin -D
```
Basic Usage
-----------

```javascript
var WebpackBuildDllPlugin = require('webpack-build-dll-plugin');
var webpackConfig = {
  entry: 'index.js',
  output: {
    path: 'dist',
    filename: 'index_bundle.js'
  },
  plugins: [
    // Add plugin BuildPlugin before your DllReference plugin.
    new WebpackBuildDllPlugin({
      // dllConfigPath: required, your Dll Config Path, support absolute path.
      dllConfigPath: './webpack.dll.config.js',
      // forceBuild: default is {false}, when dependencies change, will rebuild DllReference files
      // if {true} it will build DllReference in once upon starting Webpack.
      forceBuild: false
    }),
    new webpack.DllReferencePlugin({
      context: `./${outputPath}`,
      manifest: require(`./${outputPath}/${publicPath}/vendors-manifest${__DEV__ ? '.dev' : '.prod'}.json`)
    })
  ]
};
```

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