summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-11-13 22:52:13 +0800
committerAntoine GIRARD <sapk@users.noreply.github.com>2019-11-13 15:52:13 +0100
commitafe50873a5d6b52177b0cd6bc9d2657faf82f311 (patch)
tree0d9fb3ef4d4ba5739c52f2fcb38ad96263346f08 /Makefile
parent71395dffd0db0c53353e4b0cf0d687ece0032597 (diff)
downloadgitea-afe50873a5d6b52177b0cd6bc9d2657faf82f311.tar.gz
gitea-afe50873a5d6b52177b0cd6bc9d2657faf82f311.zip
Move index.js to web_src and use webpack to pack them (#8598)
* Move index.js to web_src and use webpack * Fix initHeatMap * update eslint and move webpack to devDependencies * update index.js * add eslint env node
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 69eb088ba7..a87de5b6f9 100644
--- a/Makefile
+++ b/Makefile
@@ -434,7 +434,8 @@ npm-update: npm-check
.PHONY: js
js: npm
- npx eslint public/js
+ npx eslint web_src/js webpack.config.js
+ npx webpack
.PHONY: css
css: npm