From 0b5d5635a94da61f0f16f107a91e9aff2c253bf8 Mon Sep 17 00:00:00 2001 From: Ross Kaffenberger Date: Fri, 29 Sep 2017 10:44:05 -0400 Subject: [PATCH] Update README.md for ENV vars with dev server Replaces information about dev server CLI flags with new environment variables usage when running webpack-dev-server --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 04aaee70a..aa583f586 100644 --- a/README.md +++ b/README.md @@ -159,20 +159,18 @@ Once you start this development server, Webpacker will automatically start proxy webpack asset requests to this server. When you stop the server, it'll revert to on-demand compilation again. -You can also pass CLI options supported by [webpack-dev-server](https://webpack.js.org/configuration/dev-server/). Please note that inline options will always take -precedence over the ones already set in the configuration file. +You can use environment variables as options supported by [webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the form `WEBPACKER_DEV_SERVER_