Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 629 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 629 Bytes

webpack-cli serve

npm

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