Uploaded image for project: 'OpenMRS 3.x Frontend'
  1. OpenMRS 3.x Frontend
  2. O3-1267

Simplify module registry and import system

    XMLWordPrintable

Details

    • Task
    • Status: Done
    • TBD
    • Resolution: Fixed
    • None
    • None
    • Core
    • None

    Description

      Sometimes, `System.import` returns an empty module, when it should return a module with all the exports (such as `setupOpenMRS`). This comes up when trying to develop patient chart widgets using import map overrides. This became a blocker for testing the app shell.

      This happens because of the weird fusion between SystemJS and Webpack Module Federation that we are using for modules. We should just switch all the way to Webpack Module Federation.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                bistenes Brandon Istenes
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: