Skip to content

🎥 Make videos programmatically with React

Update 3-0-migration.md

Muescha91b1b4a36ee1
diff --git a/packages/docs/docs/3-0-migration.md b/packages/docs/docs/3-0-migration.md
index 5f10c80c31..d0c2d8949f 100644
--- a/packages/docs/docs/3-0-migration.md
+++ b/packages/docs/docs/3-0-migration.md
@@ -209,18 +209,18 @@ To align the name with `renderStill()`, `renderFrames()` and `renderMedia()`, `b
### `overrideWebpackConfig()`: Config file option is removed
-```ts title="remotion.config.ts"
-import { overrideWebpackConfig } from "@remotion/bundler";
-```
+The import `overrideWebpackConfig` was deprecated and now removed. Use `Config.Bundling.overrideWebpackConfig()` instead.
-was deprecated and was now removed.
+**Upgrade path**: Change import in `remotion.config.ts`and use `overrideWebpackConfig()`.
-Use
+```tsx title="Previously"
+import { overrideWebpackConfig } from "@remotion/bundler";
+```
-```ts
+```tsx title="Now"
import { Config } from "remotion";
Config.Bundling.overrideWebpackConfig();
```
-instead.
+