Skip to content

Commit

Permalink
add https flag to cli (#144)
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 03557d5 commit 3acca7a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/i18n/en/docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,21 @@ Available in: `build`
parcel build entry.js --detailed-report
```

### Enable https

Default: https disabled

Available in: `server`

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

⚠️ This flag generates a self-signed certificate, you might have to configure your browser to allow self-signed certificates for localhost.

### Set a custom certificate

Default: Generates a certificate
Default: https disabled

Available in: `serve`

Expand Down

0 comments on commit 3acca7a

Please sign in to comment.