Skip to content

Commit 4afa0ec

Browse files
docs: update info about migrate command
1 parent a0ac134 commit 4afa0ec

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/CONTRIBUTING.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,8 @@ For more information about what each part of the template mean, head up to the d
262262

263263
## Migrate with the CLI
264264

265-
This is a new feature in development for the CLI.
266-
267265
```sh
268-
webpack --migrate <your-config-name>
266+
webpack migrate
269267
```
270268

271269
The expected result of the above command is to take the mentioned `webpack` configuration and create a new configuration file which is compatible with webpack 2.
@@ -307,10 +305,10 @@ Each test will refer to an input webpack config snippet.
307305
Conventionally we write them in `\_\_testfixtures\_\_`.
308306

309307
```js
310-
const defineTest = require("../defineTest");
308+
const defineTest = require('../defineTest');
311309
312-
defineTest(__dirname, "transform-name.input1.js");
313-
defineTest(__dirname, "transform-name.input2.js");
310+
defineTest(__dirname, 'transform-name.input1.js');
311+
defineTest(__dirname, 'transform-name.input2.js');
314312
```
315313

316314
`defineTest` is a helper test method which helps us to run tests on all the transforms uniformly.

0 commit comments

Comments
 (0)