Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 91b8ace

Browse files
docs: migrate codemod typos and commands (#7618)
1 parent d96f384 commit 91b8ace

File tree

1 file changed

+6
-6
lines changed
  • src/content/migrate

1 file changed

+6
-6
lines changed

‎src/content/migrate/5.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Please note that these are not official webpack codemods, and while it aims to s
4646
Run the [webpack v5 migration codemods](https://go.codemod.com/webpack-v5-recipe):
4747

4848
```bash
49-
npx codemod webpack/v5/migration-recipe
49+
npx codemod@latest webpack/v5/migration-recipe
5050
```
5151

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

151-
> **Note**: Codemod for this Chnages:
151+
> **Note**: Codemod for this change:
152152
>
153153
> ```bash
154-
> npx codemod set-target-to-false-and-update-plugins
154+
> npx codemod webpack/v5/set-target-to-false-and-update-plugins
155155
> ```
156156
>
157157
> (See the [registry here](https://codemod.com/registry/webpack-v5-set-target-to-false-and-update-plugins).)
@@ -178,7 +178,7 @@ If you were not able to upgrade some plugins/loaders to the latest in Upgrade we
178178
}
179179
```
180180
181-
> **Note**: Codemod for this Chnages:
181+
> **Note**: Codemod for this change:
182182
>
183183
> ```bash
184184
> npx codemod webpack/v5/migrate-library-target-to-library-object
@@ -242,10 +242,10 @@ import pkg from './package.json';
242242
console.log(pkg.version);
243243
```
244244
245-
> **Note**: Codemod for this Chnages:
245+
> **Note**: Codemod for this change:
246246
>
247247
> ```bash
248-
> npx codemod codemod webpack/v5/json-imports-to-default-imports
248+
> npx codemod webpack/v5/json-imports-to-default-imports
249249
> ```
250250
>
251251
> (See the [registry here](https://codemod.com/registry/webpack-v5-json-imports-to-default-imports).)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /