From b821535f0788a448df2cb1047c3a22672028ce9b Mon Sep 17 00:00:00 2001 From: Chunpeng Huo Date: Wed, 11 Sep 2019 09:34:44 +1000 Subject: [PATCH] chore(webpack): cleanup description --- skeleton/webpack/README.md | 4 ++-- skeleton/webpack/aurelia_project/tasks/build.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/skeleton/webpack/README.md b/skeleton/webpack/README.md index 30626fc4d..14387f202 100644 --- a/skeleton/webpack/README.md +++ b/skeleton/webpack/README.md @@ -8,13 +8,13 @@ You can change the standard webpack configurations from CLI easily with somethin To enable Webpack Bundle Analyzer, do `npm run analyze` (production build). -To enable hot module reload, do `npm start -- --env.hmr`. +To enable hot module reload, do `npm start -- --hmr`. To change dev server port, do `au run --port 8888`. To change dev server host, do `au run --host 127.0.0.1` -**PS:** You could mix all the flags as well, `au run --host 127.0.0.1 --port 7070 --open --env.hmr` +**PS:** You could mix all the flags as well, `au run --host 127.0.0.1 --port 7070 --open --hmr` ## Build for production diff --git a/skeleton/webpack/aurelia_project/tasks/build.json b/skeleton/webpack/aurelia_project/tasks/build.json index 7649a6b77..04198c200 100644 --- a/skeleton/webpack/aurelia_project/tasks/build.json +++ b/skeleton/webpack/aurelia_project/tasks/build.json @@ -1,6 +1,6 @@ { "name": "build", - "description": "Builds and processes all application assets. It is an alias of the `npm run build`, you may use either of those; see README for more details.", + "description": "Builds and processes all application assets. It is an alias of the `npm run build:dev`, you may use either of those; see README for more details.", "flags": [ { "name": "analyze",