diff options
author | silverwind <me@silverwind.io> | 2020-01-22 07:35:29 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2020-01-22 14:35:29 +0800 |
commit | c7fe028db4a98ef48f9b5ffd07fcc13d49f5e3b1 (patch) | |
tree | 08c68931c5561f6c62a34d03810ff2f51a870b11 /Makefile | |
parent | 81daf26878d8a7e14c172fc39fc55c36281b1898 (diff) | |
download | gitea-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |