Skip to content

Commit

Permalink
Fix some commands in cli (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasper De Moor authored and davidnagli committed Apr 16, 2018
1 parent 6156d39 commit 03557d5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/i18n/en/docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Default: "/"
Available in: `serve`, `watch`, `build`

```bash
parcel build entry.js --public-url ./dist/
parcel entry.js --public-url ./dist/
```

will output:
Expand Down Expand Up @@ -92,7 +92,7 @@ Default: 3
Available in: `serve`, `watch`, `build`

```bash
parcel build entry.js --log-level 1
parcel entry.js --log-level 1
```

| Loglevel | Effect |
Expand All @@ -109,7 +109,7 @@ Default: `location.hostname` of current window
Available in: `serve`, `watch`

```bash
parcel build entry.js --hmr-hostname parceljs.org
parcel entry.js --hmr-hostname parceljs.org
```

### HMR Port
Expand All @@ -119,7 +119,7 @@ Default: A random available port
Available in: `serve`, `watch`

```bash
parcel build entry.js --hmr-port 8080
parcel entry.js --hmr-port 8080
```

### Output filename
Expand Down Expand Up @@ -151,7 +151,7 @@ Default: Generates a certificate
Available in: `serve`

```bash
parcel build entry.js --cert certificate.cert --key private.key
parcel entry.js --cert certificate.cert --key private.key
```

### Open in browser
Expand All @@ -161,7 +161,7 @@ Default: open disabled
Available in: `serve`

```bash
parcel build entry.js --open
parcel entry.js --open
```

### Disable source-maps
Expand All @@ -181,7 +181,7 @@ Default: autoinstall enabled
Available in: `serve`, `watch`

```bash
parcel build entry.js --no-autoinstall
parcel entry.js --no-autoinstall
```

### Disable HMR
Expand All @@ -191,7 +191,7 @@ Default: HMR enabled
Available in: `serve`, `watch`

```bash
parcel build entry.js --no-hmr
parcel entry.js --no-hmr
```

### Disable minification
Expand Down

0 comments on commit 03557d5

Please sign in to comment.