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

[Backport to 11.1] Webpack based frontend-build

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 4.1.1, utilities-3.1.1
    • None
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: