Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
5.4
-
None
Description
When a shim config is defined for a JavaScript library and the resulting "module" is added to a JavaScript stack, the raw library will be added to the stack resource (without a define statement). But under normal circumstances, it will never be used as it is added without any module wrapper code.
When the library is required (via the shim module) from another module, requirejs loads it again.