Skip to content

🎥 Make videos programmatically with React

`@remotion/lambda`: remove `npx remotion-lambda`

Jonny Burger9d0204cf812d
diff --git a/packages/lambda/package.json b/packages/lambda/package.json
index e56bd8315c..05f355777e 100644
--- a/packages/lambda/package.json
+++ b/packages/lambda/package.json
@@ -4,9 +4,6 @@
"description": "Distributed renderer for Remotion based on AWS Lambda",
"main": "dist/index.js",
"sideEffects": false,
- "bin": {
- "remotion-lambda": "remotion-lambda-cli.js"
- },
"scripts": {
"formatting": "prettier src --check",
"testintegration": "vitest src/test/integration --run",
diff --git a/packages/lambda/remotion-lambda-cli.js b/packages/lambda/remotion-lambda-cli.js
deleted file mode 100755
index 620e49059b..0000000000
--- a/packages/lambda/remotion-lambda-cli.js
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/env node
-const dotenv = require('dotenv');
-dotenv.config();
-const {cli} = require('./dist/cli/index');
-
-cli()
- .then(() => process.exit(0))
- .catch((err) => {
- // eslint-disable-next-line no-console
- console.error(err);
- process.exit(1);
- });