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

Dynamic Plugin needs to be externally consumable - Update Webpack

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • 5
    • False
    • False
    • undefined
    • HAC Infra - Sprint 210, HAC Infra - Sprint 211

      As an adopter of the @openshift-console/dynamic-plugin-sdk I want to easily integrate into my development pipeline so that I can extend the OCP console.

      Trying to pull in the dynamic-plugin-sdk into ACM is proving to be problematic. We would have to move to older dependencies. Integrating with webpack and typescript requires a very specific setup.

      The dynamic-plugin-sdk has only really been used internally by OCP and is strongly tied to the setup and dependencies of OCP. For the dynamic-plugin-sdk to be externally consumable by adopters, it should be as easy to use as other webpack plugins such as HtmlWebpackPlugin or CompressionPlugin.

      Acceptance Criteria

      • Uses up to date webpack and dependencies - not tied to specific versions OCP console uses
      • Includes it's own dependencies - does not require adopters to include those dependencies
      • The dynamic demo plugin should be updated to use newer dependencies and use the plugin without a bunch of tweaks to tsconfig paths. 

      Currently

      • requires old dependencies including a beta version of webpack 
        • webpack 5.0.0-beta.16 → 5.51.0
        • webpack-cli 4.5.x → 4.8.x
        • webpack-dev-server ^3.11.2 → ^4.0.0
        • ts-loader 6.2.2 → 9.2.5 

              vszocs@redhat.com Vojtech Szocs
              jtalton James Talton
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: