1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-06 17:48:19 +00:00

Add Node.js build dep, remove built js/css files (#9114)

- Added Node.js as build dependency and removes build files from git.
- Added version checks for both Go and Node.js.
- Overhauled the js/css make target to only run when needed.
- Merged the `generate` make target into `build` as per suggestion.

Fixes: https://github.com/go-gitea/gitea/issues/6782
Fixes: https://github.com/go-gitea/gitea/issues/9216
This commit is contained in:
silverwind
2019-12-05 04:41:38 +01:00
committed by Lunny Xiao
parent e80fe201c0
commit d9c67a8c90
13 changed files with 93 additions and 1428 deletions

View File

@@ -2,7 +2,7 @@
"license": "MIT",
"private": true,
"engines": {
"node": ">=8"
"node": ">=10"
},
"devDependencies": {
"@babel/core": "7.7.2",