title: How to copy files from public into dist?
body: <p>I have a public folder that looks as follows:<br>
  <a href="https://i.stack.imgur.com/poUyh.png" rel="noreferrer"><img src="https://i.stack.imgur.com/poUyh.png" alt="enter image description here"></a></p>
  
  <p>After building the project with </p>
  
  <pre><code>"prod": "npm run mlbuild | npm run build"
  </code></pre>
  
  <p>the dist folder looks as following:</p>
  
  <p><a href="https://i.stack.imgur.com/CWhhT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/CWhhT.png" alt="enter image description here"></a></p>
  
  <p>But I am missing <code>config.json</code>, <code>favicon.ico</code> and <code>keycloak.json</code>.  </p>
  
  <p>How to take these files into <code>dist</code> folder during the <code>build</code>? </p>
  
  <p>I tried: </p>
  
  <pre><code>  {
      test: /\.(json)(\?v=\d+\.\d+\.\d+)?$/,
      use: [{
        loader: 'file-loader',
        options: {
          name: '[name].[ext]'
        }
      }]
    }
  </code></pre>
  
  <p>But I think, I have to mention the folder.</p>