title: How to run wepback with projects in subdirectories?
body: <p>I have a subdirectory <code>subdir</code> with this file:</p>
  
  <pre><code>// subdir/local.js
  document.body.textContent = 'hello from subdir/local.js'
  </code></pre>
  
  <p>and local <code>webpack.config.js</code>:</p>
  
  <pre>
  // subdir/webpack.config.js
  const { 
    createConfig, 
    entryPoint, 
    setOutput } = require('@webpack-blocks/webpack')
  
  const devServer = require('@webpack-blocks/dev-server')
  
  module.exports = createConfig([
    entryPoint('.'),
    setOutput('./bundle.js'),
    devServer(),
  ])
  </pre>
  
  <p>The same config works in the root directory. However, running locally</p>
  
  <p>webpack local.js</p>
  
  <p>leads to the error:</p>
  
  <pre>
  ERROR in multi main
  Module not found: Error: Cannot resolve 'file' or 'directory' . in /Users/dmitrizaitsev/Dropbox/Sandbox/webpack-blocks-test/subdir
   @ multi main
  </pre>
  
  <p>How can I fix that error and run webpack with  projects in subdirectories?</p>