title: How to remove folder with npm before build
body: <p>I've got a scripts 
  <code>"build": "rimraf dist webpack --progress --config webpack/prod.js",</code>
  But actually,it removed not dist but all file inside webpack folder. But I need delete only dist</p>
  
  <pre><code>Structure:
   -dist
   -webpack
       -somefiles.js
  </code></pre>