Using this plugin to minify my SVGs directly in Code has been such a huge workflow improvement for me
https://github.com/lishu/vscode-svg2#minify-svg-with-svgo …
Right-click in Figma > Copy as SVG
Paste into Code
"Minify SVG"
"Format Document"
Tiny bit of manual clean up
Done!pic.twitter.com/qurpHkUNpS
-
-
Replying to @adamwathan
Does anyone know if there is a similar plugin or workflow for
@phpstorm? Maybe@stefanbauerme?1 reply 0 retweets 0 likes
Replying to @raschsebastian @adamwathan and
Hi, formatting, code completion and preview of SVG files should work out of the box. For minifying SVG, you can install SVGO https://github.com/svg/svgo (which is used in the plugin) and configure it as an External Tool: https://www.jetbrains.com/help/phpstorm/configuring-third-party-tools.html … Please let us know how it goes!
0 replies
0 retweets
5 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.