🎥 Make videos programmatically with React
Update bundle-lambda.ts
Jonny Burger1977660813a1
diff --git a/packages/lambda/src/api/bundle-lambda.ts b/packages/lambda/src/api/bundle-lambda.tsindex 97aee8ab54..9efe2c4815 100644--- a/packages/lambda/src/api/bundle-lambda.ts+++ b/packages/lambda/src/api/bundle-lambda.ts@@ -12,7 +12,9 @@ export const bundleLambda = async (type: 'render') => {(fs.rmSync ?? fs.rmdirSync)(outdir, {recursive: true});fs.mkdirSync(outdir, {recursive: true});- const template = require.resolve(path.join(__dirname, 'functions', 'index'));+ const template = require.resolve(+ path.join(__dirname, '..', 'functions', 'index')+ );await esbuild.build({platform: 'node',