Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/content/migrate/5.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Please note that these are not official webpack codemods, and while it aims to s
Run the [webpack v5 migration codemods](https://go.codemod.com/webpack-v5-recipe):

```bash
npx codemod webpack/v5/migration-recipe
npx codemod@latest webpack/v5/migration-recipe
```

This will run the following codemods from [Codemod registry](https://codemod.com/registry):
Expand Down Expand Up @@ -148,10 +148,10 @@ If you were not able to upgrade some plugins/loaders to the latest in Upgrade we
}
```

> **Note**: Codemod for this Chnages:
> **Note**: Codemod for this change:
>
> ```bash
> npx codemod set-target-to-false-and-update-plugins
> npx codemod webpack/v5/set-target-to-false-and-update-plugins
> ```
>
> (See the [registry here](https://codemod.com/registry/webpack-v5-set-target-to-false-and-update-plugins).)
Expand All @@ -178,7 +178,7 @@ If you were not able to upgrade some plugins/loaders to the latest in Upgrade we
}
```

> **Note**: Codemod for this Chnages:
> **Note**: Codemod for this change:
>
> ```bash
> npx codemod webpack/v5/migrate-library-target-to-library-object
Expand Down Expand Up @@ -242,10 +242,10 @@ import pkg from './package.json';
console.log(pkg.version);
```

> **Note**: Codemod for this Chnages:
> **Note**: Codemod for this change:
>
> ```bash
> npx codemod codemod webpack/v5/json-imports-to-default-imports
> npx codemod webpack/v5/json-imports-to-default-imports
> ```
>
> (See the [registry here](https://codemod.com/registry/webpack-v5-json-imports-to-default-imports).)
Expand Down