# deps-webpack-plugin

> Get dependencies in Webpack.

Latest version **1.1.0** (published 2015-08-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install deps-webpack-plugin
pnpm add deps-webpack-plugin
yarn add deps-webpack-plugin
bun add deps-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 | 2015-08-16 |
| First published | 2015-08-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Towry Wang |
| Maintainers | towry |
| Keywords | webpack, plugin |

## Links

- npm: https://www.npmjs.com/package/deps-webpack-plugin
- Repository: https://github.com/towry/deps-webpack-plugin
- Homepage: https://github.com/towry/deps-webpack-plugin#readme
- Issues: https://github.com/towry/deps-webpack-plugin/issues
- npm.io page: https://npm.io/package/deps-webpack-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.1.0 (latest) — 2015-08-16
- 1.0.3 — 2015-08-14
- 1.0.2 — 2015-08-14
- 1.0.1 — 2015-08-12
- 1.0.0 — 2015-08-12

## README

# deps-webpack-plugin

A simple webpack plugin that expose the dependencies of entry file in Webpack.

## Install

Just run

```bash
npm install --save-dev deps-webpack-plugin
```

## Usage

Your `webpack.config.js` file:

```js
var depsWebpackPlugin = require('deps-webpack-plugin');

// only list the deps, don't do anything else.
var noBail = true;

module.exports = {
  entry: './entry.js',
  output: {
    filename: "bundle.js"
  },

  plugins: [
    new depsWebpackPlugin(function (deps) {
      // deps is an array of file name.
      console.log(deps);
    }, noBail );
  ]
}
```

## License

MIT

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