Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2350

JavaScript library with module shim config is loaded twice if module is added to a stack

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.4
    • None
    • tapestry-core

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jkemnade Jochen Kemnade
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: