Skip to content

🎥 Make videos programmatically with React

should have done this from the beginning

Jonny Burgerf3a68cf4f4f6
diff --git a/packages/bundler/src/renderEntry.tsx b/packages/bundler/src/renderEntry.tsx
index 10d80ef478..12aff22204 100644
--- a/packages/bundler/src/renderEntry.tsx
+++ b/packages/bundler/src/renderEntry.tsx
@@ -6,9 +6,7 @@ import type {render, unmountComponentAtNode} from 'react-dom';
// hence why we import the right thing all the time but need to differentiate here
import ReactDOM from 'react-dom/client';
import type {BundleState, TCompMetadata, TComposition} from 'remotion';
-import {continueRender, delayRender, Internals} from 'remotion';
-// In webpack, importing from remotion/version is not supported
-import {VERSION} from 'remotion/dist/version';
+import {continueRender, delayRender, Internals, VERSION} from 'remotion';
import {getBundleMode, setBundleMode} from './bundle-mode';
import {Homepage} from './homepage/homepage';
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
index c4869f8bf8..3356cda73a 100644
--- a/packages/core/src/index.ts
+++ b/packages/core/src/index.ts
@@ -70,5 +70,6 @@ export * from './Still';
export type {PlayableMediaTag} from './timeline-position-state';
export {useCurrentFrame} from './use-current-frame';
export * from './use-video-config';
+export * from './version';
export * from './video';
export * from './video-config';