Chapter 84: bundle()
Core Idea
_Part of the @remotion/bundler package.
Key Concepts
- Example
- Arguments
- entryPoint
- onProgress?
- webpackOverride?
- bundlerOverride?<AvailableFrom v="4.0.498" />
- rspackOverride?<AvailableFrom v="4.0.498" />
- outDir?
Code Examples
const serveUrl = await bundle({
entryPoint: path.join(process.cwd(), './src/index.ts'),
// If you have a bundler override in remotion.config.ts, pass it here as well.
webpackOverride: (config) => config,
});
- What it demonstrates: Usage pattern for bundle() from the official docs.
Key Takeaways
- Understand example when working with bundle().
- Understand arguments when working with bundle().
- Understand entrypoint when working with bundle().
- Understand onprogress? when working with bundle().
- Understand webpackoverride? when working with bundle().
Connects To
- Authoring Packages: related page in the CLI & Bundling section.
- Bundler: related page in the CLI & Bundling section.
- Bundlers: related page in the CLI & Bundling section.