Jan Dittberner
ad14916ba5
- update to Bootstrap 5.2 - add build-prod for minified production builds - drop jQuery and popper.js as well as unsupported precss - update all build dependencies - use build-prod in Makefile
17 lines
328 B
Makefile
17 lines
328 B
Makefile
RESULT = static/css/cacert.bundle.css static/js/cacert.bundle.js
|
|
SOURCES = $(shell find frontend_src -type f) webpack.config.js package.json
|
|
YARN = /usr/bin/yarnpkg
|
|
|
|
all: $(RESULT)
|
|
|
|
$(RESULT): $(SOURCES)
|
|
$(YARN)
|
|
$(YARN) run build-prod
|
|
|
|
clean:
|
|
rm -rf static
|
|
|
|
distclean: clean
|
|
rm -rf node_modules
|
|
|
|
.PHONY: all clean distclean
|