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.
(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.
(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.
I am guessing that the above can be accomplished through some webpack.config.js
configuration, but I haven't see anything online demonstrating how you can bundle deps with Webpack without specifying an entry point.