Skip to content

Commit

Permalink
Merge pull request #70 from vikr01/document-options
Browse files Browse the repository at this point in the history
Document noInterop option
  • Loading branch information
ljharb committed Oct 26, 2018
2 parents 61209dc + 4cbf23e commit d7d48bc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ npm install babel-plugin-dynamic-import-node --save-dev
}
```

#### Options

- *`noInterop`* - A boolean value, that if true will not interop the require calls. Useful to avoid using `require('module').default` on commonjs modules.

```json
{
"plugins": [
["dynamic-import-node", { "noInterop": true }]
]
}
```

### Via CLI

```sh
Expand Down

0 comments on commit d7d48bc

Please sign in to comment.