Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-124871

Serve minified AUI/YUI files according to node env setting

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: 7.4.13 DXP GA1, Master
    • Component/s: Minifier
    • Labels:
      None

      Description

      In Simplify JS minification scheme in DXP, most JS minifcation has been moved to build time.

      One caveat are AUI/YUI paths served through /o/frontend-js-aui-web/aui.

      These files are served in a different format based on the value of Liferay.AUI.getFilter() which configures YUI loader filter accordingly.

      The goal of this task is to provide a consistent behaviour for minifiying those files that right now depend on themeDisplay.isThemeJsFastLoad and PropsValues.JAVASCRIPT_LOG_ENABLED settings rather than process.env.NODE_ENV.

      *Acceptance Criteria*

      • JS files from the /o/frontend-js-aui-web/aui minified state is served consistently with other JS modules

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            jose.balsas Chema Balsas (Inactive)
            Engineering Assignee:
            Greg Hurrell (Inactive)
            Recent user:
            Sophia Zhang
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.4.13 DXP GA1
                Master