create-webpack-config

CLI tool to generate webpack.config.js


Keywords
webpack config, webpack initialize
License
MIT
Install
npm install create-webpack-config@0.1.5

Documentation

wepack-config

CLI tool to generate webpack configuration file (webpack.config.js) for you.

Usage

npm i -g create-webpack-config
webpack-config init

After that, you can run

npm i
npm start

Why

People always say webpack is HARD to get started (you can google it if you don't believe me). But people are also working on this to make it easier to use, with different approaches:

  • boilerplate
  • better documents(especially @TheLarkInn, @sokra and other team members)
  • ... ...

With the popularize of Create-React-App (CRA), I think it's worth another shot by building a CLI tools to provide single command to get started with webpack.

​After all, webpack is a GREAT tool and we all love it πŸ’• πŸ’• πŸ’• !

Release History

  • 0.1.6 - Add webpack-dashboard!
  • ​0.1.4 - βœ… Make the template work after adding webpack dev server
  • 0.1.0 - Prototype release

License

Copyright (c) 2016 Sam Zhao Licensed under the MIT license.