mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 16:59:06 +02:00
feat(v2): add custom output directory to build (#2417)
This commit is contained in:
parent
2fd50f9c33
commit
ce45413804
6 changed files with 44 additions and 18 deletions
|
@ -59,6 +59,7 @@ Compiles your site for production.
|
|||
| Options | Default | Description |
|
||||
| --- | --- | --- |
|
||||
| `--bundle-analyzer` | | Analyze your bundle with [bundle analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer) |
|
||||
| `--out-dir` | `build` | The full path for the new output directory, relative to the current workspace. |
|
||||
|
||||
### `docusaurus swizzle`
|
||||
|
||||
|
@ -90,3 +91,9 @@ To learn more about swizzling, check [here](#).
|
|||
### `docusaurus deploy`
|
||||
|
||||
Deploys your site with [GitHub Pages](https://pages.github.com/).
|
||||
|
||||
**options**
|
||||
|
||||
| Options | Default | Description |
|
||||
| --- | --- | --- |
|
||||
| `--out-dir` | `build` | The full path for the new output directory, relative to the current workspace. |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue