@jereation/webpack-configurator
v1.0.0
Published
An configurator for webpack build.
Downloads
2
Maintainers
Readme
webpack-configurator
A Simple, Powerful Wepback Front-End Development Solution
Feature
Document
- https://www.yuque.com/easy-team/webpack-configurator
- https://zhuanlan.zhihu.com/webpack-configurator
Install
$ npm i webpack-configurator --save-dev
Usage
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
- webpack-configurator-vue
- webpack-configurator-react
- webpack-configurator-weex
- webpack-configurator-html
Webpack Command Tool
webpack-configurator-cli Webpack Building Command Line And Boilerplate Init Tool for webpack-configurator
Application Boilerplate
vue-webpack-boilerplate Vue Front-End Application
react-webpack-boilerplate React Front-End Application
weex-webpack-boilerplate Weex Front-End Application
egg-vue-webpack-boilerplate Egg + Vue Server Side Render Application
egg-vue-webpack-spa-boilerplate Egg + Vue Server Side Render Single Page Application
egg-vue-webpack-mpa-boilerplate Egg + Vue Server Side Render Multil Page Application
egg-vue-typescript-boilerplate Egg + Vue + TypeScript + Webpack Server Side Render Application
egg-react-webpack-boilerplate Egg + React Server Side Render Application
egg-react-webpack-spa-boilerplate Egg + React Server Side Render Single Page Application
egg-react-webpack-mpa-boilerplate Egg + React Server Side Render Multil Page Application
egg-react-typescript-boilerplate Egg + React + TypeScript + Webpack Server Side Render Application
html-webpack-boilerplate HTML Front-End Application
Questions & Suggestions
Please open an issue here.