[IMPROVEMENT] Non-plugin scripts can be loaded without default export

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.14.0, 7.14.0-alpha2
    • Affects Version/s: None
    • Component/s: None
    • None

      Problem

      • Right now, a script can only be loaded if a default export is present
      • This is annoying if the script does not make use of the plugin system but rather should be called when Cockpit is bootstrapped

      Solution

      A script can be loaded even if no default export is present.

      Hints

      Refactor the request interceptor example in the course of this ticket.

        This is the controller panel for Smart Panels app

              Assignee:
              Tassilo Weidner-Mühl
              Reporter:
              Tassilo Weidner-Mühl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: