I want to load jQuery plus a couple of plugins with requirejs. Setting up the config object "paths" and "shim" properties works. So from within TypeScript I can require jQuery and load the plugins via an amd-dependency.
Now I would like to minimize the code needed for loading jQuery and the plugins. Can I somehow tell requirejs "whenever jQuery is required, load it via the path that is given in the paths property. Then afterwards load the following plugins...".
Essentially this would allow me to require just jQuery. All plugins would also be loaded automatically.