title: How to add wildcard mapping in entry of webpack
body: <p>I need to webpack all the js file in the script folder.I tried this </p>
  
  <pre><code>module.exports = {
    module: {
      loaders: [
        {
          test: /\.js$/,
          exclude: /node_modules/,
          loaders: ["babel-loader"],
        }
      ],
    },
    entry: "./src/scripts/*.js",
    output: {
      path: './src/build',
      filename: '[name].js'
    }
  };
  </code></pre>
  
  <p>I am getting  error like this,</p>
  
  <pre><code>ERROR in Entry module not found: Error: Cannot resolve 'file' or 'directory' ./s
  rc/scripts/* in E:\Web project\ReactJS\react-tutorial
  resolve file
    E:\Web project\ReactJS\react-tutorial\src\scripts\* doesn't exist
    E:\Web project\ReactJS\react-tutorial\src\scripts\*.webpack.js doesn't exist
    E:\Web project\ReactJS\react-tutorial\src\scripts\*.web.js doesn't exist
    E:\Web project\ReactJS\react-tutorial\src\scripts\*.js doesn't exist
    E:\Web project\ReactJS\react-tutorial\src\scripts\*.json doesn't exist
  resolve directory
    E:\Web project\ReactJS\react-tutorial\src\scripts\* doesn't exist (directory d
  efault file)
    E:\Web project\ReactJS\react-tutorial\src\scripts\*\package.json doesn't exist
   (directory description file)
  </code></pre>
  
  <p>It is not searching for all the js file instead it is searching for *.js like that.Help me out what I missed </p>