🎥 Make videos programmatically with React
Update build.mjs
Jonny Burger3d407443065a
diff --git a/packages/renderer/build.mjs b/packages/renderer/build.mjsindex 417df4b8ea..7ee9572b93 100644--- a/packages/renderer/build.mjs+++ b/packages/renderer/build.mjs@@ -110,32 +110,32 @@ const copyDestinations = {dir: '../compositor-linux-arm64-gnu',},'aarch64-unknown-linux-musl': {- from: 'target/aarch64-unknown-linux-musl/' + mode + '/remotion',+ from: `target/aarch64-unknown-linux-musl/${mode}/remotion`,to: '../compositor-linux-arm64-musl/remotion',dir: '../compositor-linux-arm64-musl',},'x86_64-unknown-linux-gnu': {- from: 'target/x86_64-unknown-linux-gnu/' + mode + '/remotion',+ from: `target/x86_64-unknown-linux-gnu/${mode}/remotion`,to: '../compositor-linux-x64-gnu/remotion',dir: '../compositor-linux-x64-gnu',},'x86_64-unknown-linux-musl': {- from: 'target/x86_64-unknown-linux-musl/' + mode + '/remotion',+ from: `target/x86_64-unknown-linux-musl/${mode}/remotion`,to: '../compositor-linux-x64-musl/remotion',dir: '../compositor-linux-x64-musl',},'x86_64-apple-darwin': {- from: 'target/x86_64-apple-darwin/' + mode + '/remotion',+ from: `target/x86_64-apple-darwin/${mode}/remotion`,to: '../compositor-darwin-x64/remotion',dir: '../compositor-darwin-x64',},'aarch64-apple-darwin': {- from: 'target/aarch64-apple-darwin/' + mode + '/remotion',+ from: `target/aarch64-apple-darwin/${mode}/remotion`,to: '../compositor-darwin-arm64/remotion',dir: '../compositor-darwin-arm64',},'x86_64-pc-windows-gnu': {- from: 'target/x86_64-pc-windows-gnu/' + mode + '/remotion.exe',+ from: `target/x86_64-pc-windows-gnu/${mode}/remotion.exe`,to: '../compositor-win32-x64-msvc/remotion.exe',dir: '../compositor-win32-x64-msvc',},