Ensure that image styles are taken from the source and not the private preview site folder

Created on 12 May 2023, about 1 year ago
Updated 30 May 2023, about 1 year ago

Problem/Motivation

At present on a first pass of the preview site build image styles are treated as remaining assets that need to be generated. Upon generation in the generateBuildForPath method they are requested and then treated as being located in the private preview site folder, unfortunately they will not exist as a change was made recently to serve assets from their respective source folders. We therefore need to treat image styles the same. On second pass of the preview site build this typically isn't an issue as the image styles now exist and aren't treated as remaining assets.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia mortim07

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024