mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-18 20:56:54 +02:00
feat: Implement Remotion bundling and rendering scripts.
This commit is contained in:
1 parent
526e608077
commit
1a7cbe6af9
6 files changed
+401
-100
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import { bundle } from "@remotion/bundler";
|
||||
import path from "path";
|
||||
|
||||
async function run() {
|
||||
try {
|
||||
const loc = await bundle({ entryPoint: path.resolve("client/src/remotion/index.ts") });
|
||||
console.log("Success:", loc);
|
||||
} catch(e) {
|
||||
console.error("Error bundling", e);
|
||||
}
|
||||
}
|
||||
run();
|
||||
Reference in new issue
Block a user