🎥 Make videos programmatically with React
document
Jonny Burgerdefec9e60600
diff --git a/packages/docs/docs/4-0-migration.md b/packages/docs/docs/4-0-migration.mdindex 7bec470e79..2f0e91025d 100644--- a/packages/docs/docs/4-0-migration.md+++ b/packages/docs/docs/4-0-migration.md@@ -193,3 +193,25 @@ The `WebpackOverrideFn` type useful for overriding the Webpack config in the con**How to upgrade:**If you encoded the path by yourself until now, don't do so anymore to avoid double encoding.++## `react-native` no longer aliases to `react-native-web`++Remotion no longer aliases `react-native` automatically to `react-native-web`.+If you are using `react-native-web`, override the Webpack config like this to restore the previous behavior:++```ts twoslash title="remotion.config.ts"+import { Config } from "@remotion/cli/config";++Config.overrideWebpackConfig((config) => {+ return {+ ...config,+ resolve: {+ ...config.resolve,+ alias: {+ ...config.resolve?.alias,+ "react-native$": "react-native-web",+ },+ },+ };+});+```