]> source.dussan.org Git - gitea.git/commit
Make build scripts compatible with node 12 (#15479)
authorsilverwind <me@silverwind.io>
Thu, 15 Apr 2021 11:02:34 +0000 (13:02 +0200)
committerGitHub <noreply@github.com>
Thu, 15 Apr 2021 11:02:34 +0000 (12:02 +0100)
commitf7830041f4538633362de6607bbfc8c5f645f0a7
tree60b662b129a96395569aa146593f8c06e8cbcd6f
parent9d07facdebffdd686108ad3b86641b85289d024b
Make build scripts compatible with node 12 (#15479)

* Make build scripts compatible with node 12

"fs/promises" is not in node 12, use a more compatible way to import it.
Also, lock major down versions of the image build dependencies to
prevent future surprises.

* add node_modules dependency
Makefile
build/generate-images.js
build/generate-svg.js