title: Webpack perform some post build script task
body: <p>I amusing webpack to generate bundle for my application. After bundle is generated, I need to perform following task.</p>
  
  <ol>
  <li>Open the bundle file and rename certain path. Because of the way we have setup put website, I am forced to change the path in the bundle we have created. Currently I am manually changing the path. So basically I am looking to run a task which will look for XXXX text and replace it with YYYY in the bundle.</li>
  <li>After I rename the keys/text, I want to uglify the content to minify the file. </li>
  </ol>
  
  <p>What options do I have. I am new to webpack and I am looking for possible solutions.</p>