title: Can uglify-js remove require and export statements?
body: <p>I'm using uglify-js to minify the source code. I want to remove </p>
  
  <p><strong>const moment = require('moment');</strong></p>
  
  <p><strong>const PouchDB = require('pouchdb');</strong></p>
  
  <p><strong>module.exports = Chart;</strong></p>
  
  <p>statements of the original source code. Is it possible? Or is there any other compressor tool supports this?</p>
  
  <p>I use the code as below in Node.js.</p>
  
  <pre><code>'use strict'
  const moment = require('moment');
  const PouchDB = require('pouchdb');
  const defaultcachetime = 12; // hours
  const VERIFIED = 3;
  const UNIQUCOUNTER = 1;
  
  
  var caches = {};
  var cachechange = {};
  
  function Chart(path, credentials, user){
  
  }
  
  module.exports = Chart;
  </code></pre>
  
  <p>The output contains</p>
  
  <pre><code>"use strict";const moment=require("moment"),PouchDB=require("pouchdb") return a},module.exports=Chart;
  </code></pre>
  
  <p>Thank you for helping</p>