Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #10 from saiichihashimoto/fix-docs
Browse files Browse the repository at this point in the history
Incorrect instructions
  • Loading branch information
saiichihashimoto authored Jul 13, 2019
2 parents 5c97601 + 536ddb8 commit d7476cf
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,19 @@ src/another.js
// src/index.js
import other from './other';
import another from './another';

require('./other');
require('./another');
```
**Out:**

```javascript
// lib/index.js
import other from './other.node.js';
import another from './another.js';

require('./other.node.js');
require('./another.js');
```

# Install
Expand All @@ -52,9 +58,9 @@ With options:

```json
{
"plugins": ["extension-resolver", {
"plugins": [["extension-resolver", {
"extensions": [".cool.js", ".js"]
}]
}]]
}
```

Expand Down

0 comments on commit d7476cf

Please sign in to comment.