🎥 Make videos programmatically with React
Rename setOutDir to setBundleOutDir
Jonny Burger70b8ab65fd89
diff --git a/packages/cli/src/config/index.ts b/packages/cli/src/config/index.tsindex 94f52a1b26..99eabbaaee 100644--- a/packages/cli/src/config/index.ts+++ b/packages/cli/src/config/index.ts@@ -590,7 +590,7 @@ type FlatConfig = RemotionConfigObject &* Define the output directory for `npx remotion bundle`.* Default: `build` in the Remotion root.*/- setOutDir: (outDir: string | null) => void;+ setBundleOutDir: (outDir: string | null) => void;/*** Choose between using Chrome Headless Shell or Chrome for Testing*/@@ -742,7 +742,7 @@ export const Config: FlatConfig = {setPublicLicenseKey: publicLicenseKeyOption.setConfig,setForceNewStudioEnabled: forceNewStudioOption.setConfig,setIPv4: ipv4Option.setConfig,- setOutDir: outDirOption.setConfig,+ setBundleOutDir: outDirOption.setConfig,};export const ConfigInternals = {diff --git a/packages/docs/docs/config.mdx b/packages/docs/docs/config.mdxindex 43a6eb1c8d..d05d00ab59 100644--- a/packages/docs/docs/config.mdx+++ b/packages/docs/docs/config.mdx@@ -87,14 +87,14 @@ Config.setPublicDir('./custom-public-dir');The [command line flag](/docs/cli/render#--public-dir) `--public-dir` will take precedence over this option.-## `setOutDir()`<AvailableFrom v="4.0.426" />+## `setBundleOutDir()`<AvailableFrom v="4.0.426" /><Options id="out-dir" />```ts twoslash title="remotion.config.ts"import {Config} from '@remotion/cli/config';// ---cut----Config.setOutDir('./custom-build-dir');+Config.setBundleOutDir('./custom-build-dir');```The [command line flag](/docs/cli/bundle#--out-dir) `--out-dir` will take precedence over this option.