vlad 6f123ff03e 18.07 6 år sedan
..
bin 6f123ff03e 18.07 6 år sedan
lib 6f123ff03e 18.07 6 år sedan
node_modules 6f123ff03e 18.07 6 år sedan
schemas 6f123ff03e 18.07 6 år sedan
CHANGELOG.md 6f123ff03e 18.07 6 år sedan
LICENSE 6f123ff03e 18.07 6 år sedan
README.md 6f123ff03e 18.07 6 år sedan
package.json 6f123ff03e 18.07 6 år sedan

README.md

<a href="https://github.com/webpack/webpack-cli">
    <img width="200" height="200" src="https://webpack.js.org/assets/icon-square-big.svg">
</a>


npm Build Status Build status Dependency Status Code Climate chat on gitter Greenkeeper badge

Webpack CLI

Webpack CLI encapsulates all code related to CLI handling. It captures options and sends them to webpack compiler. You can also find functionality for initializing a project and migrating between versions.

Migration from webpack v1 to v2

The migrate feature eases the transition from version 1 to version 2. migrate also allows users to switch to the new version of webpack without having to extensively refactor.

webpack-cli migrate <config>

Read more about migrating

Creating new webpack projects

The init feature allows users to get started with webpack, fast. Through scaffolding, people can create their own configuration in order to faster initialize new projects for various of use cases.

webpack-cli init webpack-addons-<package>

Read more about scaffolding

Contributing and Internal Documentation

The webpack family welcomes any contributor, small or big. We are happy to elaborate, guide you through the source code and find issues you might want to work on! To get started have a look at our documentation on contributing, or our Internal Documentation