Zpx

webpack-dev-server

webpack-dev-server 能够用于快速开发应用程序。请查看“如何开发?”入门。 此页面描述影响 webpack-dev-server(简写为:dev-server) 行为的选项。devServer object 通过来自 webpack-dev-server 的这些选项,能够用多种方式改变其行为。 这里有一个简单的例子

webpack-dev-server can be used to quickly develop an application. See the development guide to get started. This page describes the options that affect the behavior of webpack-dev-server (short: dev-server). Options that are compatible with webpack-dev-middleware have