title: How to set multiple file entry and output in project with webpack?
body: <p>How to set multiple file entry/output in project with webpack?</p>
  
  <p>I follow <a href="http://webpack.github.io/docs/tutorials/getting-started/">http://webpack.github.io/docs/tutorials/getting-started/</a> success compile if only one file in one entry/output... </p>
  
  <p>directory</p>
  
  <pre><code>app
  webpack.config.js
  ./assets
  ././javascripts/Administrator/Article/Create/Base.js
  ././javascripts/Administrator/Article/Edit/Base.js
  ././javascripts/Account/Index/Base.js
  ././javascripts/Contact/Index/Base.js
  ...
  </code></pre>
  
  <p>how to output like this?</p>
  
  <pre><code>././javascripts/Administrator/Article/Create/bundle.js
  ././javascripts/Administrator/Article/Edit/bundle.js
  ././javascripts/Account/Index/bundle.js
  ././javascripts/Contact/Index/bundle.js
  </code></pre>
  
  <p>webpack.config.js</p>
  
  <pre><code>module.exports = {
    entry: {
      'AdministratorArticleCreate':['./assets/javascripts/Administrator/Article/Create/Base.js']
    },
    output: {
      path: 
    }
  
      // if only one file
      // entry: "./assets/javascripts/Administrator/Article/Create/Base.js",
      // output: {
      //     // path: __dirname,
      //     path: "./assets/javascripts/Administrator/Article/Create/",
      //     filename: "bundle.js"
      // }
  };
  </code></pre>