Skip to content

🎥 Make videos programmatically with React

add remotion/no-react to rollup config

Jonny Burger93d2acc6a1bd
diff --git a/packages/three/rollup.config.js b/packages/three/rollup.config.js
index e3822e0fa1..370ef6c9af 100644
--- a/packages/three/rollup.config.js
+++ b/packages/three/rollup.config.js
@@ -14,6 +14,7 @@ export default [
external: [
'react',
'remotion',
+ 'remotion/no-react',
'react/jsx-runtime',
'@react-three/fiber',
'three/src/textures/VideoTexture.js',
diff --git a/packages/transitions/rollup.config.js b/packages/transitions/rollup.config.js
index 9932c71a08..661c129ed8 100644
--- a/packages/transitions/rollup.config.js
+++ b/packages/transitions/rollup.config.js
@@ -13,7 +13,7 @@ export default [
sourcemap: false,
},
],
- external: ['remotion', 'react', 'react/jsx-runtime'],
+ external: ['remotion', 'remotion/no-react', 'react', 'react/jsx-runtime'],
plugins: [
typescript({
tsconfig: 'tsconfig-cjs.json',
@@ -32,7 +32,7 @@ export default [
sourcemap: false,
},
],
- external: ['remotion', 'react', 'react/jsx-runtime'],
+ external: ['remotion', 'remotion/no-react', 'react', 'react/jsx-runtime'],
plugins: [
typescript({
tsconfig: 'tsconfig-cjs.json',