Skip to content

Commit

Permalink
docs: Valid install commands when using Github copy button (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
markholland committed Jul 26, 2021
1 parent f533cc2 commit f2daf06
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@
Install the plugin

```
$ npm install --save-dev babel-plugin-module-resolver
npm install --save-dev babel-plugin-module-resolver
```
or
```
yarn add --dev babel-plugin-module-resolver
```

Specify the plugin in your `.babelrc` with the custom root or alias. Here's an example:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ const MyUtilFn = require('../../../../utils/MyUtilFn');
Install the plugin

```
$ npm install --save-dev babel-plugin-module-resolver
npm install --save-dev babel-plugin-module-resolver
```
or
```
$ yarn add --dev babel-plugin-module-resolver
yarn add --dev babel-plugin-module-resolver
```

Specify the plugin in your `.babelrc` with the custom root or alias. Here's an example:
Expand Down

0 comments on commit f2daf06

Please sign in to comment.