The Bolt Design System provides robust Twig and Web Component-powered UI components, reusable visual styles, and powerful tooling to help developers, designers, and content authors build, maintain, and scale best of class digital experiences.
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 on Sharp 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.
Jira
https://pegadigitalit.atlassian.net/browse/DS-867
Summary
Remove the image task from Bolt.
Details
Part 1 of 2
https://github.com/boltdesignsystem/bolt/pull/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.