Skip to content

Commit

Permalink
Add plugins array to show where it goes
Browse files Browse the repository at this point in the history
  • Loading branch information
junderw authored Apr 9, 2019
1 parent 5cf326c commit 26c0f1b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ $ browserify -r bip39 -s bip39 \
You can also do this in Webpack using the `IgnorePlugin`. Here is an example of excluding all non-English wordlists

```javascript
new webpack.IgnorePlugin(/^\.\/(?!english)/, /bip39\/src\/wordlists$/),
...
plugins: [
new webpack.IgnorePlugin(/^\.\/(?!english)/, /bip39\/src\/wordlists$/),
],
...
```

This is how it will look in the browser console.
Expand Down

0 comments on commit 26c0f1b

Please sign in to comment.