title: Uglifyjs overwrite file
body: <p>I'm having trouble trying to overwrite the file that has been uglified. Unfortunately, I can't output to a different file name. </p>
  
  <p>Here are some of the attempts:</p>
  
  <p><code>uglifyjs dist/main.*.js --compress drop_console=true --overwrite</code></p>
  
  <p><code>find ./dist -name "main.*.js" | xargs uglifyjs --compress drop_console=true --overwrite file</code></p>
  
  <p><code>find ./dist -name "main.*.js" | xargs uglifyjs -f --compress drop_console=true --overwrite file -o file
  </code></p>
  
  <p>Each time it just prints to STDOUT. If I do something like <code>uglifyjs dist/main.*.js --compress drop_console=true -o main.min.js</code> it will work.</p>
  
  <p>Any thoughts?</p>