From 8188176b588264fe0ff8e3f82a623ea007a1af41 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 12 Jul 2020 11:10:56 +0200 Subject: Direct SVG rendering (#12157) 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 --- public/img/svg/octicon-octoface.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 public/img/svg/octicon-octoface.svg (limited to 'public/img/svg/octicon-octoface.svg') diff --git a/public/img/svg/octicon-octoface.svg b/public/img/svg/octicon-octoface.svg new file mode 100644 index 0000000000..3345509547 --- /dev/null +++ b/public/img/svg/octicon-octoface.svg @@ -0,0 +1 @@ + \ No newline at end of file -- cgit v1.2.3