mirror of
https://github.com/go-gitea/gitea
synced 2024-09-05 08:55:43 +02:00
Introduce 'make svg' which calls a node script that compiles svg files to `public/img/svg`. These files are vendored to not create a dependency on Node for the backend build. On the frontend side, configure webpack using `raw-loader` so SVGs can be imported as string. Also moved our existing SVGs to web_src/svg for consistency. Fixes: https://github.com/go-gitea/gitea/issues/11618
1 line
No EOL
178 B
XML
1 line
No EOL
178 B
XML
<svg viewBox="0 0 16 16" class="svg octicon-line-arrow-up" width="16" height="16" aria-hidden="true"><path d="M11.5 8.5L13 7 8 2 3 7l1.5 1.5L7 5.821V14h2V5.821L11.5 8.5z"/></svg> |