@webpack-cli/init
v1.1.3
Published
init command for webpack-cli
Downloads
26,619
Readme
webpack-cli init
Description
This package contains the logic to create a new webpack configuration.
Installation
npm i -D webpack-cli @webpack-cli/init
Usage
CLI (via webpack-cli
)
Via defaults
npx webpack-cli init
To generate default configs
npx webpack-cli init --auto
To scaffold in a specified path
npx webpack-cli init --generation-path [path]
Via custom scaffold
- Using package on
npm
npx webpack-cli init webpack-scaffold-[name]
- Using path to a local directory
npx webpack-cli init [path]