title: "npm start" not working in reactjs if public folder is inside another folder
body: <p>I have the following structure in my react project</p>
  
  <pre><code>  --project
        |
        --main
           |
           -- public
               |
                -- index.html
           -- src
               |
                -- index.js
           webpack.dev.config.js
           webpack.prod.config.js
        -- node_modules
        -- package.json
  </code></pre>
  
  <p>For the above structure, when I run <strong>npm start</strong>, I am getting below error</p>
  
  <blockquote>
    <p>Could not find a required file.   Name: index.html   Searched in:
    C:\xampp\htdocs\project\public</p>
  </blockquote>
  
  <p>because the <strong>public</strong> folder is there inside <strong>main</strong> folder. How can I run the code? Please tell me.</p>
  
  <p><strong>EDIT</strong></p>
  
  <pre><code>  output: {
      filename: 'js/[name].js',
      path: path.resolve('/main/public/'),
      publicPath: '/main/public'
    }
  </code></pre>
  
  <p>tried setting the path in webpack</p>