feat(vendor): replace CDN dependencies with local npm packages

Introduces a vendor build pipeline so all third-party browser assets
(Bootstrap, Bootstrap Icons, Font Awesome, marked, jQuery) are served
from local static files instead of external CDNs.

- Add app/package.json with vendor deps and postinstall/build scripts
- Add app/scripts/copy-vendor.js to copy assets to static/vendor/
- Update base.html.j2 to use url_for('static', ...) for all vendor assets
- Update Dockerfile to install Node.js/npm and run npm install
- Update .gitignore to exclude app/node_modules/ and app/static/vendor/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Sonnet 4.6 committed 2026-03-30 09:29:28 +02:00
1 parent 252b50d2a7
commit a29a0b1862
5 files changed
+93 -9

No files matched your search

+1
View File
@@ -5,6 +5,7 @@ app/static/cache/*
app/cypress/screenshots/*
.ruff_cache/
app/node_modules/
app/static/vendor/
hadolint-results.sarif
build/
*.egg-info/