@@ -46,7 +46,7 @@ Please note that these are not official webpack codemods, and while it aims to s
46
46
Run the [ webpack v5 migration codemods] ( https://go.codemod.com/webpack-v5-recipe ) :
47
47
48
48
``` bash
49
- npx codemod webpack/v5/migration-recipe
49
+ npx codemod@latest webpack/v5/migration-recipe
50
50
```
51
51
52
52
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
148
148
}
149
149
```
150
150
151
- > ** Note** : Codemod for this Chnages :
151
+ > ** Note** : Codemod for this change :
152
152
>
153
153
> ``` bash
154
- > npx codemod set-target-to-false-and-update-plugins
154
+ > npx codemod webpack/v5/ set-target-to-false-and-update-plugins
155
155
> ` ` `
156
156
>
157
157
> (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
178
178
}
179
179
```
180
180
181
- > ** Note** : Codemod for this Chnages :
181
+ > ** Note** : Codemod for this change :
182
182
>
183
183
> ``` bash
184
184
> npx codemod webpack/v5/migrate-library-target-to-library-object
@@ -242,10 +242,10 @@ import pkg from './package.json';
242
242
console.log(pkg.version);
243
243
` ` `
244
244
245
- > ** Note** : Codemod for this Chnages :
245
+ > ** Note** : Codemod for this change :
246
246
>
247
247
> ` ` ` bash
248
- > npx codemod codemod webpack/v5/json-imports-to-default-imports
248
+ > npx codemod webpack/v5/json-imports-to-default-imports
249
249
> ` ` `
250
250
>
251
251
> (See the [registry here](https://codemod.com/registry/webpack-v5-json-imports-to-default-imports).)
0 commit comments