summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/svg4web.svgo.js
diff options
context:
space:
mode:
Diffstat (limited to 'searx/static/themes/simple/svg4web.svgo.js')
-rw-r--r--searx/static/themes/simple/svg4web.svgo.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/searx/static/themes/simple/svg4web.svgo.js b/searx/static/themes/simple/svg4web.svgo.js
new file mode 100644
index 000000000..5b985adfe
--- /dev/null
+++ b/searx/static/themes/simple/svg4web.svgo.js
@@ -0,0 +1,19 @@
+/**
+ * @license
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ *
+ * svgo config: Optimize SVG for WEB usage
+ */
+
+module.exports = {
+ plugins: [
+ {
+ name: 'preset-default',
+ },
+ // make diff friendly
+ 'sortAttrs',
+ // Optimize SVG for WEB usage
+ 'convertStyleToAttrs',
+ 'removeXMLNS'
+ ],
+};