Skip to content

Latest commit

 

History

History
101 lines (65 loc) · 4.07 KB

README.md

File metadata and controls

101 lines (65 loc) · 4.07 KB

easywebpack

NPM version build status Test coverage David deps npm download

A Simple, Powerful Wepback Front-End Development Solution

Feature

easywebpack

Document

Install

$ npm i easywebpack --save-dev

Usage

const easywebpack = requier('easywebpack');
const env = process.env.BUILD_ENV; // support dev/test/prod
const webpackConfig = easywebpack.getWebpackConfig({
  env,
  target: 'web',
  entry: {
    index: 'src/app.js'
  }
});

Usage Solution

Webpack Command Tool

easywebpack-cli Webpack Building Command Line And Boilerplate Init Tool for easywebpack

Application Boilerplate

Questions & Suggestions

Please open an issue here.

License

MIT