npm package: @jereation/webpack-configurator
Description: An configurator for webpack build.
Author: Jeremy Tang
Latest version: 1.0.0

# webpack-configurator

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url]
[![npm download][download-image]][download-url]

[npm-image]: https://img.shields.io/npm/v/webpack-configurator.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@jereation/webpack-configurator
[travis-image]: https://travis-ci.org/easy-team/webpack-configurator.svg?branch=master
[travis-url]: https://travis-ci.org/easy-team/webpack-configurator
[codecov-image]: https://codecov.io/gh/easy-team/webpack-configurator/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/easy-team/webpack-configurator
[david-image]: https://img.shields.io/david/easy-team/webpack-configurator.svg?style=flat-square
[david-url]: https://david-dm.org/easy-team/webpack-configurator
[snyk-image]: https://snyk.io/test/npm/webpack-configurator/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/webpack-configurator
[download-image]: https://img.shields.io/npm/dm/webpack-configurator.svg?style=flat-square
[download-url]: https://npmjs.org/package/webpack-configurator


 A Simple, Powerful Wepback Front-End Development Solution

## Feature

![webpack-configurator](https://github.com/easy-team/webpack-configurator/blob/master/docs/images/webpack-configurator.png)


## Document

- https://www.yuque.com/easy-team/webpack-configurator
- https://zhuanlan.zhihu.com/webpack-configurator


## Install

```bash
$ npm i webpack-configurator --save-dev
```

## Usage

```js
const webpack-configurator = requier('webpack-configurator');
const env = process.env.BUILD_ENV; // support dev/test/prod
const webpackConfig = webpack-configurator.getWebpackConfig({
  env,
  target: 'web',
  entry: {
    index: 'src/app.js'
  }
});
```

## Usage Solution

- [webpack-configurator-js](https://github.com/easy-team/webpack-configurator-js.git) 
- [webpack-configurator-vue](https://github.com/easy-team/webpack-configurator-vue.git) 
- [webpack-configurator-react](https://github.com/easy-team/webpack-configurator-react.git)
- [webpack-configurator-weex](https://github.com/easy-team/webpack-configurator-weex.git)
- [webpack-configurator-html](https://github.com/easy-team/webpack-configurator-html.git) 

## Webpack Command Tool

[webpack-configurator-cli](https://github.com/easy-team/webpack-configurator-cli.git) Webpack Building Command Line And Boilerplate Init Tool for webpack-configurator

## Application Boilerplate

- [vue-webpack-boilerplate](https://github.com/hubcarl/webpack-configurator-cli-template/tree/master/boilerplate/vue) Vue Front-End Application

- [react-webpack-boilerplate](https://github.com/hubcarl/webpack-configurator-cli-template/tree/master/boilerplate/react) React Front-End Application

- [weex-webpack-boilerplate](https://github.com/easy-team/webpack-configurator-weex-boilerplate) Weex Front-End Application

- [egg-vue-webpack-boilerplate](https://github.com/easy-team/egg-vue-webpack-boilerplate) Egg + Vue Server Side Render Application

- [egg-vue-webpack-spa-boilerplate](https://github.com/easy-team/egg-vue-webpack-boilerplate/tree/feature/green/spa) Egg + Vue Server Side Render Single Page Application

- [egg-vue-webpack-mpa-boilerplate](https://github.com/easy-team/egg-vue-webpack-boilerplate/tree/feature/green/multi) Egg + Vue Server Side Render Multil Page Application

- [egg-vue-typescript-boilerplate](https://github.com/easy-team/egg-vue-typescript-boilerplate) Egg + Vue + TypeScript + Webpack Server Side Render Application

- [egg-react-webpack-boilerplate](https://github.com/easy-team/egg-react-webpack-boilerplate) Egg + React Server Side Render Application

- [egg-react-webpack-spa-boilerplate](https://github.com/easy-team/egg-react-webpack-boilerplate/tree/feature/green/spa) Egg + React Server Side Render Single Page Application

- [egg-react-webpack-mpa-boilerplate](https://github.com/easy-team/egg-react-webpack-boilerplate/tree/feature/green/multi) Egg + React Server Side Render Multil Page Application

- [egg-react-typescript-boilerplate](https://github.com/easy-team/egg-react-typescript-boilerplate) Egg + React + TypeScript + Webpack Server Side Render Application

- [html-webpack-boilerplate](https://github.com/easy-team/webpack-configurator-multiple-html-boilerplate) HTML Front-End Application


## Questions & Suggestions

Please open an issue [here](https://github.com/easy-team/webpack-configurator/issues).

## License

[MIT](LICENSE)