The SVG sprite needs to be updated due to the migration to EsBuild
Insight
1/ Update the generate CLI command as we moved the images to priv folder already.
2/ Update the IconHelper to include the priv--static--images--icons-- because the icon files now located in the priv/static/images/icons folder, which is different with the assets/package.json location, the SVG sprite generate the path to the sharp id
What happened
The SVG sprite needs to be updated due to the
migration to EsBuild
Insight
1/ Update the
generate CLI command
as we moved the images topriv
folder already. 2/ Update the IconHelper to include thepriv--static--images--icons--
because the icon files now located in thepriv/static/images/icons
folder, which is different with theassets/package.json
location, the SVG sprite generate thepath to the sharp id
Proof Of Work
Tested on client project.