Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 743 Bytes

File metadata and controls

34 lines (23 loc) · 743 Bytes

webpack-cli generators

Description

This package contains all webpack-cli related yeoman generators.

Installation

npm i -D webpack-cli @webpack-cli/generators

Usage

To run the package programmatically, install it as a dependency. When using the package programmatically, one does not have to install webpack-cli.

Generators

  • Plugin Generator
  • Remove Generator
  • Update Generator
  • Loader Generator
  • Init Generator
  • Add Generator

Node

const { addGenerator, addonGenerator, initGenerator, loaderGenerator, 
        pluginGenerator, removeGenerator, updateGenerator 
    } = require("@webpack-cli/generators");
    // ... compose with yeoman env or add a generator to your own yeoman project