Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4410

Use webpack 5 module federation support to init shared scope object

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • None
    • None
    • OCP Console - Sprint 278, OCP Console - Sprint 279

      Console has recently been updated to use webpack 5 which includes native support for module federation.

      Plugin infra code in shared-modules-init.ts for initializing the shared scope object should be updated to use _{}webpack_init_sharing{}_ function instead of using an ad-hoc object.

      This should also fix runtime warnings about "*" character issued by webpack module federation code.

       

      AC:

              vszocs@redhat.com Vojtech Szocs
              vszocs@redhat.com Vojtech Szocs
              None
              None
              Yanping Zhang Yanping Zhang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: