Skip to main content

npx remotion bundle

available from v4.0.89

Creates a Remotion Bundle on the command line.
Equivalent to the bundle() Node.JS API.

npx remotion bundle <serve-url|entry-file>?

You may pass a Serve URL or an entry point as the first argument, otherwise the entry point will be determined.

From v4.0.497, bundles created by this command are relocatable by default. Upload them to Remotion Lambda using deploySiteFromBundle().

Flags

--config

Specify a location for the Remotion config file.

--log

One of trace, verbose, info, warn, error.
Determines how much info is being logged to the console.

Default info.

--public-dir

Define the location of the public/ directory. If not defined, Remotion will assume the location is the `public` folder in your Remotion root.

--out-dir

Define the location of the resulting bundle. By default it is a folder called build, adjacent to the Remotion Root.

--public-pathv4.0.127

The path of the URL where the bundle is going to be hosted. By default it is ./, making the bundle relocatable. Set an absolute path such as /sites/my-site/ to host the bundle at a fixed location.

--disable-git-sourcev4.0.182

Disables the Git Source being connected to the Remotion Studio. Clicking on stack traces and certain menu items will be disabled.

--experimental-rspackv4.0.426

Uses Rspack instead of Webpack as the bundler for the Studio or bundle.