mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-17 11:59:30 +00:00
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>
This commit is contained in:
parent
81daf26878
commit
c7fe028db4
2 changed files with 30 additions and 23 deletions
2
Makefile
2
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue