summaryrefslogtreecommitdiff
path: root/tools/svgo.config.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-10-22 12:53:57 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-19 00:05:34 +0100
commit719d61982953caf61c0df7776347e13105a2e8b2 (patch)
tree4e11a9d0c502264f4169de97914fca6ccaf9ef22 /tools/svgo.config.js
parent8d8d6db547653dff6ffb34fdf9336317da50121e (diff)
downloadnevsky-719d61982953caf61c0df7776347e13105a2e8b2.tar.gz
Add asset rendering scripts.
Diffstat (limited to 'tools/svgo.config.js')
-rw-r--r--tools/svgo.config.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/svgo.config.js b/tools/svgo.config.js
new file mode 100644
index 0000000..ef3339c
--- /dev/null
+++ b/tools/svgo.config.js
@@ -0,0 +1,10 @@
+module.exports = {
+ js2svg: {
+ 'finalNewline': true,
+ },
+ plugins: [
+ 'preset-default',
+ 'convertStyleToAttrs',
+ 'sortAttrs',
+ ],
+}