Skip to content

Remotion

This plugin is enabled if there’s a match in "dependencies" or "devDependencies" in package.json:

  • remotion

  • @remotion/cli

If this plugin is enabled, the following configuration is added automatically:

{
"remotion": {
"config": [
"remotion.config.{ts,js}"
],
"entry": [
"remotion/index.{ts,tsx,js,mjs}",
"src/remotion/index.{ts,tsx,js,mjs}"
]
}
}

Depending on local configuration, plugins may modify the defaults as shown.

Custom config or entry options override default values, they are not merged.

See Plugins for more details about plugins and their entry and config options.

This plugin adds argument parsing for the remotion binary. Configuration:

config: ["config"]
resolveInputs: (parsed, { cwd }) => {
const [command, second, third, fourth] = parsed._;
if (typeof command !== 'string') return [];
if (command === 'lambda') {
const inputs = [toDependency('@remotion/lambda')];
if (second === 'sites' && third === 'create' && typeof fourth === 'string') {
inputs.push(toEntryPath(fourth, { dir: cwd, optional: true, production: true }));
}
return inputs;
}
if (command === 'cloudrun') {
return [toDependency('@remotion/cloudrun')];
}
if (entryCommands.has(command) && typeof second === 'string') {
return [toEntryPath(second, { dir: cwd, optional: true, production: true })];
}
return [];
}

The configuration was generated from source code. Also see Script Parser.

This page was generated from the remotion plugin source code.

ISC License © 2026Lars Kappert