summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-01-22 07:35:29 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2020-01-22 14:35:29 +0800
commitc7fe028db4a98ef48f9b5ffd07fcc13d49f5e3b1 (patch)
tree08c68931c5561f6c62a34d03810ff2f51a870b11 /Makefile
parent81daf26878d8a7e14c172fc39fc55c36281b1898 (diff)
downloadgitea-c7fe028db4a98ef48f9b5ffd07fcc13d49f5e3b1.tar.gz
gitea-c7fe028db4a98ef48f9b5ffd07fcc13d49f5e3b1.zip
misc webpack tweaks (#9924)
- reduce verbosity during build - use array form `use` to allow easier extension - disable uninteresting source maps - disable symlink resolution for a speedup Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <matti@mdranta.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a47a803ab2..71d9828e24 100644
--- a/Makefile
+++ b/Makefile
@@ -479,7 +479,7 @@ js: node-check fomantic $(JS_DEST)
$(JS_DEST): node_modules $(JS_SOURCES)
npx eslint web_src/js webpack.config.js
- npx webpack
+ npx webpack --hide-modules --display-entrypoints=false
.PHONY: fomantic
fomantic: node-check $(FOMANTIC_DEST_DIR)