legacy-knowledge-base
公開されました Jun. 30, 2025

Unable to minify CSS in commerce sites

投稿者

Apsara Raheja

knowledge-article-header-disclaimer-how-to

knowledge-article-header-disclaimer

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • Steps to reproduce:
    1. Start Liferay DXP 7.2 fix-pack-20 (commerce site)
    2. Add the below properties in portal-ext.properties:
    minifier.enabled=true
    theme.css.fast.load=true
    javascript.fast.load=true
    3. Inspect the page and navigate to the network
    4. Reload the page and click on main.css of commerce.
    5. Open the URL in the new Tab.
    Expected Behavior: The main.css should be minified.
    Observed Behavior: The main.css is not minified.

Environment

  • Liferay DXP 7.2
  • Commerce 2.0

Resolution

  • The observed behavior is a known bug that has been addressed via LPD-27746
  • If a hotfix is required for this issue, please create a support ticket requesting a hotfix by attaching patch details.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install this hotfix in the respective environment.
did-this-article-resolve-your-issue

legacy-knowledge-base