🎥 Make videos programmatically with React
Update loader.ts
Jonny Burgere2d5e1b3c3ef
diff --git a/packages/bundler/src/fast-refresh/loader.ts b/packages/bundler/src/fast-refresh/loader.tsindex 1f086ff59b..64d662e6c6 100644--- a/packages/bundler/src/fast-refresh/loader.ts+++ b/packages/bundler/src/fast-refresh/loader.ts@@ -223,6 +223,8 @@ refreshModuleRuntime = refreshModuleRuntime.slice(const ReactRefreshLoader: LoaderDefinition = function (source, inputSourceMap) {// Importing a module that declares the global variables _a and _b// will conflict with the global variables that React Fast Refresh uses.++ // https://github.com/remotion-dev/remotion/issues/3699const renamedSymbols = refreshModuleRuntime.replace(/_a/g, '_remotion_globalVariableA').replace(/_b/g, '_remotion_globalVariableB');