title: What does the node element of webpack's config file do?
body: <p>Some <code>webpack.config.js</code> files contain this:</p>
  
  <pre><code>node: {
      global: true,
      crypto: 'empty',
      process: true,
      module: false,
      clearImmediate: false,
      setImmediate: false
  }
  </code></pre>
  
  <p>What exactly does this do? <a href="https://webpack.github.io/docs/configuration.html#node" rel="nofollow noreferrer">The docs</a> don't really have much to say about it:</p>
  
  <blockquote>
    <p>Include polyfills or mocks for various node stuff</p>
  </blockquote>