Skip to content

Proper promise rewrite of svg sprite function

Lukas 'ai-pi' Eipert requested to merge leipert-improve-svg-optimization-code into main

Purpose

Proper promise rewrite of svg sprite function

Currently we do a lot of things in the spriter.compile callback. If we wrap that code in a more simple manner, we can make it more easy to follow as we unwrap multiple levels of try catch.

Screenshots

Checklist

For a new icon and/or illustration:

For third-party trademarks:

Edited by Lukas 'ai-pi' Eipert

Merge request reports