Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-3982

Remove legacy webpack.config.js and any redundant scripts and dependencies

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Core UI
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • OCMUI Team Sprint 280

      Background

      The project currently maintains two parallel build configurations:

      • fec.config.js - Used for production builds and main development workflow
      • webpack.config.js - Legacy configuration used by CI pipelines and some development scripts

      This duplication creates maintenance overhead and potential inconsistencies. All production deployments already use fec.config.js, making webpack.config.js redundant.

      Goal

      Remove webpack.config.js and all references to it, consolidating on the fec build system used in production.

      Acceptance Criteria

      Files/Folders to Delete

      •  webpack.config.js
      • babel-plugins
      • loaders
      • run/progress-flag-if-tty.sh

      Files to Update

      1. package.json (3 scripts to remove/update)

      • Update build script to use fec-based build
      • Remove dev-server: "webpack serve $(run/progress-flag-if-tty.sh)"
      • Remove start:ci script
      • Remove babel-loader dependency
      • Remove html-webpack-plugin dependency
      • Remove sol-sc-explorer dependency
      • Remove webpack-cli dependency
      • Remove webpack-dev-server dependency

      2. GitHub Actions Workflows (2 files)

      • .github/workflows/ci.yml
        • Verify build job uses fec-based build instead of webpack

              rh-ee-thendric Trevor Hendricks
              rh-ee-thendric Trevor Hendricks
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: