# around-build-webpack-plugin

> Around webpack build.

Latest version **2.0.0** (published 2018-04-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install around-build-webpack-plugin
pnpm add around-build-webpack-plugin
yarn add around-build-webpack-plugin
bun add around-build-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 | 2.0.0 |
| Published | 2018-04-18 |
| First published | 2018-04-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 10 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | maowug |
| Maintainers | maowu |
| Keywords | webpack, webpack-plugin |

## Links

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

## Dependencies (1)

- [babel-polyfill](https://npm.io/package/babel-polyfill.md) ^6.26.0

## 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

- 2.0.0 (latest) — 2018-04-18
- 1.9.3 — 2018-04-18
- 1.9.2 — 2018-04-18
- 1.9.1 — 2018-04-18
- 1.9.0 — 2018-04-18
- 1.2.0 — 2018-04-06
- 1.1.0 — 2018-04-06
- 1.0.1 — 2018-04-06
- 1.0.0 — 2018-04-06

## README

# around-build-webpack-plugin

### Install
```
npm i --save-dev around-build-webpack-plugin
```

### Usage

pre-build steps and post-build steps will be executed sequentially .

**webpack.config.js**
```js
const { PreBuildPlugin, PostBuildPlugin } = require('around-build-webpack-plugin');

module.exports = {
  entry: 'index.js',
  output: {
    path: __dirname + '/dist',
    filename: 'index_bundle.js'
  },
  plugins: [
    new PreBuildPlugin(
      async function PreBuildStep1 () { },
      async function PreBuildStep2 () { }
    ),
    new PostBuildPlugin(
      async function PreBuildStep2 () { }
      async function PreBuildStep2 () { }
    )
  ]
}
```


### License
MIT.

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