Files
jamesreadandCursor 91f7764de2 perf: optimize frontend build and initial loading
Remove redundant component scanning, lazy-load terminal CSS and locale
messages, and clean obsolete frontend package metadata. Generate one JSON
file per locale so initial loads only fetch English and the selected locale.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 17:47:33 +01:00

26 lines
355 B
Makefile

define delete-files
python3 -c "import shutil;shutil.rmtree('$(1)', ignore_errors=True)"
endef
codestyle: deps
npm run lint
codestyle-fix: deps
npm run lint:fix
unittests: deps
npm test
clean:
$(call delete-files,dist)
deps:
npm ci
build:
npm run build
dist: deps clean build
.PHONY: codestyle codestyle-fix unittests deps build dist clean