The doc you linked to describes how to create a bundle of JS that will export a "require()" function exposing the bundled libs to other JavaScript.
That doesn't seem related to the question of how to create a bundle that assumes that some libs have already been loaded with a previous script tag that pulled, say, jQuery from a CDN.