Skip to content

Commit

Permalink
docs: Updated information regarding migrate command and a typo fix (#…
Browse files Browse the repository at this point in the history
…1187)

* docs: update info about migrate command

* fix: typo

Co-authored-by: Rishabh Chawla <rishabh31121999@gmail.com>
  • Loading branch information
jamesgeorge007 and rishabh3112 committed Feb 5, 2020
1 parent 83c0056 commit 861e9f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/CONTRIBUTING.md
Expand Up @@ -262,10 +262,8 @@ For more information about what each part of the template mean, head up to the d

## Migrate with the CLI

This is a new feature in development for the CLI.

```sh
webpack --migrate <your-config-name>
webpack migrate
```

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.
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/npm-packages-exists.ts
Expand Up @@ -13,7 +13,7 @@ const WEBPACK_SCAFFOLD_PREFIX = "webpack-scaffold";
* on npm and throws an error if it is not.
*
* @param {String[]} pkg - Array of packages to check existence of
* @returns {Array} resolvePackages - Returns an process to install the packages
* @returns {Array} resolvePackages - Returns a process to install the packages
*/

export default function npmPackagesExists(pkg: string[]): void {
Expand Down

0 comments on commit 861e9f8

Please sign in to comment.