diff options
author | silverwind | 2022-06-06 05:27:25 +0200 |
---|---|---|
committer | GitHub | 2022-06-06 11:27:25 +0800 |
commit | df0fb17d041b34854c5a0bdd4a14ad50807ded4a (patch) | |
tree | b42e06afa668ba74dd6d79467c053c537e02f1f8 /Makefile | |
parent | 0a8c0306004382263ba86610ba4111c569b99f14 (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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |