🎥 Make videos programmatically with React
import {readFileSync} from 'node:fs';
import {dirname, join} from 'node:path';
import {fileURLToPath} from 'node:url';
const packageDir = join(dirname(fileURLToPath(import.meta.url)), '..', '..');
const repoDir = join(packageDir, '..', '..');
export const getBrowserStudioSetupEnvironmentForBuild = () =>
readFileSync(
join(repoDir, 'packages', 'bundler', 'src', 'setup-environment.ts'),
'utf-8',
);