Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31982

Cache is enabled in Encore on dev environments

    XMLWordPrintable

Details

    Description

      Following instructions on https://doc.ezplatform.com/en/latest/tutorials/platform_beginner/3_customize_the_front_page/

      Adding a new entry into webpack.config.js leads to the following error if cache was not cleared:

       

      This is caused by a cache service being injected into Encore due to our configuration defaults being reversed:

      Switching to Symfony defaults fixes the issue.

      This would probably also make the mention of clearing cache in those particular docs optional if not obsolete.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pawel.niedzielski@ibexa.co Paweł Niedzielski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: