title: Rollup.js unresolved dependencies
body: <p>I am trying to incorporate rollup.js into a project.  Currently I am getting the warnings provided below in the console (unresolved dependencies) and I am not sure why or how to fix it:</p>
  
  <pre><code>'fs' is imported by node_modules\filereader\FileReader.js, but could not be resolved – treating it as an external dependency
  
  'fs' is imported by  commonjs-external:fs, but could not be resolved – treating it as an external dependency
  
  preferring built-in module 'punycode' over local alternative at 'C:\Users\Ryan\OneDrive\Projects\Custom Coding\Zapier\Ryan Test\node_modules\punycode\punycode.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning
  
  preferring built-in module 'punycode' over local alternative at 'C:\Users\Ryan\OneDrive\Projects\Custom Coding\Zapier\Ryan Test\node_modules\punycode\punycode.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning
  </code></pre>
  
  <p>Here is the test.js script requiring FileReader and https:</p>
  
  <pre><code>var FileReader = require('filereader');
  var https = require('https');
  </code></pre>
  
  <p>Finally the rollup.config.js file which executes creating the bundle:</p>
  
  <pre><code>var rollup = require('rollup');
  
  var commonjs = require('rollup-plugin-commonjs');
  var nodeResolve = require('rollup-plugin-node-resolve');
  var globals = require('rollup-plugin-node-globals');
  var builtins = require('rollup-plugin-node-builtins');
  
  // build bundle
  rollup
    .rollup({
      entry: 'test.js',
      plugins: [
        nodeResolve(),
        commonjs(),
        globals(),
        builtins()
      ]
    })
    .then(bundle =&gt; bundle.write({
      dest: 'rollupBundle/bundle.js',
      format: 'cjs'
    }))
    .catch(err =&gt; console.log(err.stack));
  </code></pre>