🎥 Make videos programmatically with React
Update index.ts
Jonny Burgerb6703a9ed96d
diff --git a/packages/core/src/index.ts b/packages/core/src/index.tsindex 1674e2fe12..fc8931fc69 100644--- a/packages/core/src/index.ts+++ b/packages/core/src/index.ts@@ -116,3 +116,24 @@ export const Experimental = {Null,useIsPlayer,};++const proxyObj = {};++export const Config = new Proxy(proxyObj, {+ get() {+ console.warn(+ '⚠️ The CLI configuration has been extracted from Remotion Core.'+ );+ console.warn('Update the import from the config file:');+ console.warn();+ console.warn('- Delete:');+ console.warn('import {Config} from "remotion";');+ console.warn('+ Replace:');+ console.warn('import {Config} from "@remotion/cli/config";');+ console.warn();+ console.warn(+ 'For more information, see https://v4.remotion.dev/docs/4-0-migration.'+ );+ process.exit(1);+ },+});