title: Is there an easy way to uglify / minify an electron project?
body: <p>I've written an electron application which is packed via <code>electron-packager</code> and shipped to users. Now of course I'd like to put at least some very basic Protection on my sources, ideally merging all my JS files into one big file, and uglify this file.</p>
  
  <p>Of course this would break all <code>require</code> Statements in the  HTML and JS files (even if I only minify / uglify without merging, the JS files get renamed).</p>
  
  <p>Is there any convenient way to merge those files upon building the app, without rewriting my working environment? </p>