Used to wrap plain JavaScript libraries as AMD modules. The underlying resource is transformed before it is sent to the client.
This is an alternative to configuring RequireJS module shims for the libraries. As opposed to shimmed libraries, the modules created using the AMDWrapper can be added to JavaScript stacks.
If the library depends on global variables, these can be added as module dependencies. For a library that expects jQuery to be available as $, the wrapper should be setup calling require("jQuery", "$") on the respective wrapper.
@since 5.4
@see JavaScriptModuleConfiguration
@see ModuleManager