title: 'No configuration file found and no entry configured via CLI option' in webpack
body: <p>I'm writing my own webpack.config.js file for my personal project and I hit the error saying </p>
  
  <p><code>No configuration file found and no entry configured via CLI option.
  When using the CLI you need to provide at least two arguments: entry and output.
  A configuration file could be named 'webpack.config.js' in the current directory.
  Use --help to display the CLI options.</code></p>
  
  <p>and my webpack file looks like</p>
  
  <pre><code>const HTMLWebpackPlugin = require('html-webpack-plugin');
  const HTMLWebpackPluginConfig = new HTMLWebpackPlugin({
    template: __dirname + '/index.html',
    filename: 'index.html',
    inject: 'body'
  });
  
  module.exports = {
    entry: './src/index.js',
    output: {
      path: __dirname,
      publicPath: '/',
      filename: 'bundle.js'
    },
    module: {
      loaders: [
        {
          test: /\.js$/,
          exclude: /node_modules/,
          loader: 'babel-loader',
          query: {
            presets: ['react', 'es2015', 'stage-1']
          }
        },
        {
          test: /\.css$/,
          loader: 'style-loader!css-loader'
        }
      ]
    },
    resolve: {
      extensions: ['', '.js', '.jsx']
    },
    plugins: [HTMLWebpackPluginConfig],
    devServer: {
      historyApiFallback: true,
      contentBase: './'
    }
  
  };
  </code></pre>
  
  <p>As you can see in my webpack.config.js, there are entry and output but webpack does not seem to recognize them for some reasons and I have not figured this out for a long time.</p>
  
  <p>I'm running this webpack with <code>webpack-dev-server</code> via <code>"devBuild": "node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js"</code> in <code>package.json</code> file.</p>
  
  <p>Has anyone had similar experience as mine and know how to make this work?</p>
  
  <p>Thank you.</p>
  
  <p>----------------------EDIT----------
  Here is my project structure (sorry for not posting in the beginning)</p>
  
  <pre><code>root
  |__client
  |  |__React Folders
  |  |__index.html
  |  |__webpack.config.js
  |
  |__server
  |  |__server.js
  |
  |__package.json
  |__.babelrc
  |__.gitignore
  </code></pre>
  
  <p>Let me know if you need something else.</p>