Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
CMEONE committed Jun 5, 2021
1 parent b4dfd04 commit 1b6ffad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ Options are an additional feature to change the configuration settings of the in
- `name`: the name used to install that module later (default: path)

### Requiring Code
If you would like to require code, the code imported must use `module.exports`, `exports`, or browser code. If using `module.exports` or `exports`, write the following command:
If you would like to require code, the code imported must use `module.exports`, `exports`, or browser code. If you have `module.exports` or `exports`, use the following command:
```javascript
require(path_or_name);
```

If you use browser code or have the `browser` parameter in `package.json`, use the following command:
If you have browser code or the `browser` parameter in `package.json`, use the following command:
```javascript
requireBrowser(path_or_name);
```

0 comments on commit 1b6ffad

Please sign in to comment.