title: What does "publicPath" in Webpack do?
body: <p><a href="https://github.com/webpack/docs/wiki/configuration#outputpublicpath" rel="noreferrer">Webpack docs</a> state that <code>output.publicPath</code> is:</p>
  
  <blockquote>
    <p>The <code>output.path</code> from the view of the JavaScript.</p>
  </blockquote>
  
  <p>Could you please elaborate on what this actually means?</p>
  
  <p>I use <code>output.path</code> and <code>output.filename</code> to specify where Webpack should output the result, but I’m not sure what to put in <code>output.publicPath</code> and whether it is required.</p>
  
  <pre><code>module.exports = {
    output: {
      path: path.resolve("./examples/dist"),
      filename: "app.js",
      publicPath: "What should I put here?"   
    } 
  }
  </code></pre>