DS-867 (Part 1 of 2) Remove Image task #2554
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Jira
https://pegadigitalit.atlassian.net/browse/DS-867
Summary
Remove the image task from Bolt.
Details
Part 1 of 2
#2555 is part 2 of 2, where we add the missing images and consolidate the images used in the Pattern Lab demos.
The image task takes a folder of images and creates several resized versions of each and puts them in the
www
directory. This process is time consuming and relies onSharp
which has been a source of many build errors over the years. It's just not worth it for our docs site.This PR removes the image task and its dependencies, all references to Bolt image data, and updates snapshots.
There is only one component change, the image component, which removes the reference to Bolt image data. This data is only used in PL and has no effect downstream.
How to test
Release notes
bolt img
andbolt images
tasks. Sites using Bolt should be unaffected.