Webpack - bundling scripts without specifying an entry point
<p>I am looking for information on how to bundle dependencies with Webpack. Haven't been doing front-end development much recently and behind the latest trends.</p>

<ul>
<li><p>(a) I would like to bundle x number of dependencies with Webpack, but
I do not wish to specify an entry point. Such that if the bundle was
require'd, nothing would execute.</p></li>
<li><p>(b) This has probably nothing to do with (a) - ideally I could bundle
them as AMD modules. Basically, would like to take NPM modules and my
code and convert things to AMD.</p></li>
</ul>

<p>I am guessing that the above can be accomplished through some <code>webpack.config.js</code> configuration, but I haven't see anything online demonstrating how you can bundle deps with Webpack without specifying an entry point.</p>