Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10611

[Backport to 11.1] Webpack based frontend-build

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.1, utilities-3.1.1
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Story Points:
      1
    • Processed by team:
      Tiger
    • Sprint:
      Tiger Sprint 148, Tiger Sprint 150

      Description

      The context-path of the CMS can be anything: /cms, /cool-cms or /. For this reason, the sources built with the frontend-build should be required with a relative path instead of an absolute-path. For example, currently the angular resources of the new channel manager are hardwired to /cms/angular/hippo-cm.

      The path can be made relative by changing the frontend-build configuration, but this breaks the current development proxy servlet. For example, the webpack-dev-server of the channel-manager serves requests at http://localhost:9090/cms/angular/hippo-cm/** but when we change the frontend-build to use a relative path, it will serve files from http://localhost:9090/**

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mdenburger Mathijs den Burger (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: