Skip to main content

Remotion Bundle

Once you have written your video in React, you need to bundle it using Webpack in order to render it.
The output of the bundling process is called the "bundle".
It is a folder containing HTML, CSS, JavaScript and your assets.

When you render using the command line, a bundle is automatically generated (this is the Bundling video step).

You can use the bundle() API to create a bundle programmatically.

You can create a bundle on the CLI using the npx remotion bundle command.

To bundle and deploy to S3, you can use the npx remotion lambda sites create command.

If you host a bundle under a URL, it becomes a Serve URL, which you can specify to render videos.