Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 757 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 757 Bytes

webpack-cli update

npm

Description

This package contains the logic to update properties in a webpack configuration file. It will run a generator that prompts the user for questions of which property to update in their webpack configuration file.

Installation

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

Usage

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

Node

const update = require("@webpack-cli/update").default;
update();

CLI (via webpack-cli)

npx webpack-cli update