Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 514 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 514 Bytes

webpack-cli serve

Description

This package contains the logic to run webpack-serve without using webpack-serve directly.

Installation

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

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 serve = require("@webpack-cli/serve").default;
serve();

CLI (via webpack-cli)

npx webpack-cli serve