title: How to minify and factor-bundle files in the same browserify command?
body: <p>I currently have this <code>factor-bundle</code> command which I use to bundle my files, and pull everything common into a common file:</p>
  
  <pre><code>browserify index.js bar-charts.js list-filter.js dashboard.js 
    -p [ factor-bundle -o ../../static/js/index.js -o ../../static/js/bar-chart.js -o ../../static/js/list-filter.js -o ../../static/js/dashboard.js ] 
    -o ../../static/js/common.js
  </code></pre>
  
  <p>I previously also used this command to uglify individual files:</p>
  
  <pre><code> browserify index.js | uglifyjs &gt; ../../static/js/index.min.js
  </code></pre>
  
  <p>How can I both combine files with <code>factor-bundle</code>, and minify them with <code>uglifyjs</code>, in the same command?</p>
  
  <p>I found <a href="https://github.com/substack/factor-bundle#user-content-command-line-outpipe-example" rel="noreferrer">this example in the factor-bundle docs</a>, but I don't really understand how to adapt it.</p>
  
  <p>(I could also use two commands, if that works better. I just want to end up with minified and combined files!)</p>