GithubHelp home page GithubHelp logo

hhy5277 / webpack-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from webpack/webpack-cli

0.0 2.0 0.0 8.77 MB

Webpack's Command Line Interface

Home Page: https://webpack.js.org/api/cli

License: MIT License

JavaScript 36.13% HTML 0.84% TypeScript 58.19% Smarty 4.84%

webpack-cli's Introduction

webpack CLI

The official CLI of webpack


npm Build Status Build2 Status deps Code Climate chat on gitter Install Size npm lerna

About

webpack CLI provides a flexible set of commands for developers to increase speed when setting up a custom webpack project. As of webpack v4, webpack is not expecting a configuration file, but often developers want to create a more custom webpack configuration based on their use-cases and needs. webpack CLI addresses these needs by providing a set of tools to improve the setup of custom webpack configuration.

How to install

When you have followed the Getting Started guide of webpack then webpack CLI is already installed!

Otherwise npm install --save-dev webpack-cli or yarn add webpack-cli --dev will install it.

Commands

Supporting developers is an important task for webpack CLI. Thus, webpack CLI provides different commands for many common tasks. We organize webpack CLI as a multi-package repository. Every command has a dedicated subfolder in the packages Folder.

Getting started

When you have followed the Getting Started guide of webpack then webpack CLI is already installed! Otherwise, you would need to install webpack CLI and the packages you want to use. If we want to use the init functionality to create a new webpack.config.js configuration file:

npm i webpack-cli @webpack-cli/init
npx webpack-cli init

You will answer many questions when running the init so webpack CLI can provide the best fitting configuration.

webpack CLI Scaffolds

With v3 of webpack CLI, we introduced scaffolding as an integral part of the CLI. Our goal is to simplify the creation of webpack configurations for different purposes. Additionally, sharing such solutions with the community is beneficial and with webpack webpack's we want to allow this. We provide webpack-scaffold as a utility suite for creating these scaffolds. It contains functions that could be of use for creating an scaffold yourself.

You can read more about Scaffolding or check out the example project How do I compose a webpack-scaffold?.

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.

webpack-cli's People

Contributors

abenezerabebe avatar anshumanv avatar anu-007 avatar bitpshr avatar danielavalero avatar danielruf avatar dhruvdutt avatar dylanonelson avatar ematipico avatar eugenehlushko avatar evenstensberg avatar evschen avatar fokusferit avatar greenkeeper[bot] avatar hemal7735 avatar itsmapleleaf avatar jayjun avatar julioxavierr avatar karanjthakkar avatar lakatostamas avatar matheus1lva avatar misterdev avatar nilliams avatar okonet avatar rgbkrk avatar rishabh3112 avatar sendilkumarn avatar sokra avatar styfle avatar thelarkinn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.