From 14462f7bfeae4ae1910f0a32ed2f4e953c590a30 Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 3 Mar 2026 14:07:18 +0100 Subject: [PATCH] fix: remove hard-coded rollup-linux-x64-gnu dependency The @rollup/rollup-linux-x64-gnu native binding was a hard dependency, causing npm install to fail on arm64 and macOS platforms. Nothing in the codebase uses rollup directly (build uses esbuild); rollup is only pulled in transitively by @remotion/cli and manages its own platform-specific bindings via its own optionalDependencies. Closes #28 Co-Authored-By: Claude Opus 4.6 --- package-lock.json | 3 ++- package.json | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9f6bd4aa..afd7d7ff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,6 @@ "@fastify/compress": "^8.3.1", "@fastify/cookie": "^11.0.2", "@fastify/static": "^8.0.0", - "@rollup/rollup-linux-x64-gnu": "^4.59.0", "chalk": "^5.3.0", "chokidar": "^3.6.0", "commander": "^12.1.0", @@ -1623,7 +1622,9 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", + "optional": true, "os": [ "linux" ] diff --git a/package.json b/package.json index 41b4cba0..cfcff619 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,6 @@ "@fastify/compress": "^8.3.1", "@fastify/cookie": "^11.0.2", "@fastify/static": "^8.0.0", - "@rollup/rollup-linux-x64-gnu": "^4.59.0", "chalk": "^5.3.0", "chokidar": "^3.6.0", "commander": "^12.1.0",