Skip to content

Commit

Permalink
chore(webpack): cleanup description
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed Sep 16, 2019
1 parent eeebdc8 commit b821535
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions skeleton/webpack/README.md
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion 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",
Expand Down

0 comments on commit b821535

Please sign in to comment.