Sketch SVG Optimize
Copy SVG Code from Sketch (Right click an object, Copy SVG Code)
Paste below
Copy the result (as a CSS background-image attr)
Preview: