Skip to content

🎥 Make videos programmatically with React

fix bundler webpack config

Jonny Burger373e89754fb8
diff --git a/packages/bundler/src/bundle.ts b/packages/bundler/src/bundle.ts
index 0880545d52..35864b68ae 100644
--- a/packages/bundler/src/bundle.ts
+++ b/packages/bundler/src/bundle.ts
@@ -72,7 +72,7 @@ export const getConfig = ({
options?: LegacyBundleOptions;
}) => {
return webpackConfig({
- entry: '@remotion/studio/renderEntry',
+ entry: require.resolve('@remotion/studio/renderEntry'),
userDefinedComponent: entryPoint,
outDir,
environment: 'production',