diff --git a/src/content/docs/en/reference/cli-reference.mdx b/src/content/docs/en/reference/cli-reference.mdx index 63758b0aee813..4f2ed3160b1ca 100644 --- a/src/content/docs/en/reference/cli-reference.mdx +++ b/src/content/docs/en/reference/cli-reference.mdx @@ -219,9 +219,7 @@ Do not use the `--host` flag to expose the dev server in a production environmen Builds your site for deployment. By default, this will generate static files and place them in a `dist/` directory. If [SSR is enabled](/en/guides/server-side-rendering/), this will generate the necessary server files to serve your site. -

Flags

- -Use these flags to customize your build. For flags shared with other Astro commands, see [common flags](#common-flags) below. +Can be combined with the [common flags](#common-flags) documented below. ## `astro preview` @@ -339,6 +337,12 @@ Specifies the path to the config file relative to the project root. Defaults to astro --config config/astro.config.mjs dev ``` +### `--outDir ` + + + +Configures the [`outDir`](/en/reference/configuration-reference/#outdir) for your project. Passing this flag will override the `outDir` value in your `astro.config.mjs` file, if one exists. + ### `--site ` Configures the [`site`](/en/reference/configuration-reference/#site) for your project. Passing this flag will override the `site` value in your `astro.config.mjs` file, if one exists.