aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsilverwind2022-06-06 05:27:25 +0200
committerGitHub2022-06-06 11:27:25 +0800
commitdf0fb17d041b34854c5a0bdd4a14ad50807ded4a (patch)
treeb42e06afa668ba74dd6d79467c053c537e02f1f8 /Makefile
parent0a8c0306004382263ba86610ba4111c569b99f14 (diff)
Modernize JS build scripts (#19824)
- Remove __dirname, use file URLs instead - Upgrade fabric dependency - Use fs/promises syntax, this breaks node 12 but we require 14 already The change in public/img/favicon.svg is not caused by the fabric upgrade, but it seems it was not properly generated when introduced. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d2ed8d329..ce4dec21a 100644
--- a/Makefile
+++ b/Makefile
@@ -761,7 +761,7 @@ generate-gitignore:
.PHONY: generate-images
generate-images: | node_modules
- npm install --no-save --no-package-lock fabric@4 imagemin-zopfli@7
+ npm install --no-save --no-package-lock fabric@5 imagemin-zopfli@7
node build/generate-images.js $(TAGS)
.PHONY: generate-manpage