mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-30 06:50:36 +02:00
feat: React 18 + automatic JSX runtime + build --dev (#8961)
This commit is contained in:
parent
76f920359b
commit
187e5aa218
69 changed files with 404 additions and 209 deletions
|
@ -37,6 +37,7 @@ Builds and serves a preview of your site locally with [Webpack Dev Server](https
|
|||
|
||||
| Name | Default | Description |
|
||||
| --- | --- | --- |
|
||||
| `--dev` | | Builds in dev mode, including full React error messages. |
|
||||
| `--port` | `3000` | Specifies the port of the dev server. |
|
||||
| `--host` | `localhost` | Specify a host to use. For example, if you want your server to be accessible externally, you can use `--host 0.0.0.0`. |
|
||||
| `--hot-only` | `false` | Enables Hot Module Replacement without page refresh as a fallback in case of build failures. More information [here](https://webpack.js.org/configuration/dev-server/#devserverhotonly). |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue