       }]
    ]
}
</code></pre>
<p>Next, create a file called <code>webpack.config.js</code></p>
<pre><code class="lang-javascript">module.exports = {
    entry: &#39;./src/index.js&#39;,
    output: {
        path: &#39;./bin&#39;,
        filename: &#39;app.js&#39;,
    },
    module: {
        loaders: [{
            test: /\.js$/,
            exclude: /node_modules/,
            loader: &#39;babel-loader&#39;
        }]
    }
}
</code></pre>
<p>This configuration assumes the source code file for the app