diff --git a/README.md b/README.md index bfbcbbe..abf15ab 100644 --- a/README.md +++ b/README.md @@ -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.