title: Using ignorePlugin to ignore one folder from dependencies.
body: <p>I've realized that one of a big folder inside one of my dependencies is not required. But since it takes almost 30kb of my build size, I wish to ignore it from the final webpack build. For that, i'm trying to use the <code>webpack ignorePlugin</code>.</p>
  
  <p>This is what i've tried till now:</p>
  
  <pre><code>new webpack.IgnorePlugin(/^\.\/precomputed$/, /elliptic$/),
  </code></pre>
  
  <p>The absolute path for the folder that I wanna ignore is :
  <code>node_modules/elliptic/precomputed</code></p>
  
  <p>What i'm doing wrong here ? Is there anything else required ? Thanks for help ! Appreciate it :)</p>