fix: configure esbuild before loading remotion bundler
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import {app} from 'electron';
|
||||
import {bundle} from '@remotion/bundler';
|
||||
import {parseMedia} from '@remotion/media-parser';
|
||||
import {nodeReader} from '@remotion/media-parser/node';
|
||||
import {makeCancelSignal, renderMedia, selectComposition} from '@remotion/renderer';
|
||||
@@ -132,6 +131,7 @@ export const startExport = async (input: StartExportInput): Promise<ExportStatus
|
||||
|
||||
status = {...status, message: 'Bundling composition', outputPath};
|
||||
configureNativeBinaryPaths();
|
||||
const {bundle} = await import('@remotion/bundler');
|
||||
const bundled = await bundle({
|
||||
entryPoint: getEntryPoint(),
|
||||
rootDir: getRemotionRoot(),
|
||||
|
||||
Reference in New Issue
Block a user